aboutsummaryrefslogtreecommitdiff
path: root/tools/test.nom
diff options
context:
space:
mode:
authorBruce Hill <bitbucket@bruce-hill.com>2018-08-29 15:59:30 -0700
committerBruce Hill <bitbucket@bruce-hill.com>2018-08-29 16:00:04 -0700
commit811fdd685670d2eb8c6bcb9e6e103e57bf402ca8 (patch)
treec599fd7a609159c2ec50a30f1131000070e8eb03 /tools/test.nom
parent22495c7d708b4950b83c5bc9b97806e19cd1fcfa (diff)
Tweaked version 3.6 to include deprecating list append/removal functions
in favor of using a method call style.
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