diff options
Diffstat (limited to 'tools/test.nom')
| -rwxr-xr-x | tools/test.nom | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/test.nom b/tools/test.nom index 67afb96..d9e9269 100755 --- a/tools/test.nom +++ b/tools/test.nom @@ -33,14 +33,14 @@ for $filename in $(COMMAND LINE ARGS).extras: sort $file_tests by $ -> $.source lua> "io.write('[ .. ] ', \$filename); io.flush()" - if (command line args)."-v": say "" + if (command line args).v: say "" for $ in $file_tests: - if (command line args)."-v": + if (command line args).v: say " \(yellow ($.test, with "\n" -> "\n "))" run $.test - if (command line args)."-v": + if (command line args).v: say (green "PASS") ..else: say "\r[\(green "PASS")" |
