From 811fdd685670d2eb8c6bcb9e6e103e57bf402ca8 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Wed, 29 Aug 2018 15:59:30 -0700 Subject: Tweaked version 3.6 to include deprecating list append/removal functions in favor of using a method call style. --- tools/test.nom | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools/test.nom') 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 -- cgit v1.2.3