aboutsummaryrefslogtreecommitdiff
path: root/tools/test.nom
diff options
context:
space:
mode:
Diffstat (limited to 'tools/test.nom')
-rwxr-xr-xtools/test.nom4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/test.nom b/tools/test.nom
index 7a1ee1e..2446069 100755
--- a/tools/test.nom
+++ b/tools/test.nom
@@ -8,7 +8,7 @@ use "lib/consolecolor.nom"
%args = (command line args)
if (%args.1 == "-v"):
- remove index 1 from %args
+ %args::remove index 1
%verbose = (yes)
# Make sure all the files get run
@@ -24,7 +24,7 @@ for %path in (command line args):
%file_tests = []
for %src = %test in %tests:
if (%src.filename == %filename):
- add {test:%test, source:%src} to %file_tests
+ %file_tests::add {test:%test, source:%src}
unless (%file_tests is empty):
sort %file_tests by % -> %.source