aboutsummaryrefslogtreecommitdiff
path: root/tools/test.nom
diff options
context:
space:
mode:
Diffstat (limited to 'tools/test.nom')
-rwxr-xr-xtools/test.nom6
1 files changed, 2 insertions, 4 deletions
diff --git a/tools/test.nom b/tools/test.nom
index 1fd5ee3..bcbd289 100755
--- a/tools/test.nom
+++ b/tools/test.nom
@@ -1,4 +1,4 @@
-#!/usr/bin/env nomsu -V4.11.12.8
+#!/usr/bin/env nomsu -V4.12.12.8
#
Tool to run all tests in a file (i.e. the code block inside a call to 'test %'). Usage:
nomsu tools/test.nom file1 file2 directory1 ...
@@ -18,9 +18,7 @@ for %filename in (command line args).extra_args:
for %src = %test in %tests:
if (%src.filename == %filename):
if %version:
- %test = "\
- ..#!/usr/bin/env nomsu -V\(%version)
- \%test"
+ %test = "#!/usr/bin/env nomsu -V\%version\n\%test"
%file_tests::add {test: %test, source: %src}
unless (%file_tests is empty):