mirror of
https://github.com/leafo/moonscript.git
synced 2024-11-22 02:44:23 +00:00
sort tests
This commit is contained in:
parent
ef2db0a1d5
commit
7498a52aee
@ -82,6 +82,8 @@ describe "input tests", ->
|
|||||||
inputs = for file in lfs.dir options.in_dir
|
inputs = for file in lfs.dir options.in_dir
|
||||||
file\match options.input_pattern
|
file\match options.input_pattern
|
||||||
|
|
||||||
|
table.sort inputs
|
||||||
|
|
||||||
for name in *inputs
|
for name in *inputs
|
||||||
input = input_fname name
|
input = input_fname name
|
||||||
fn = if pattern and not input\match pattern
|
fn = if pattern and not input\match pattern
|
||||||
|
Loading…
Reference in New Issue
Block a user