From addac10a47693a976808bf75fe63aed19f8dbb63 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sun, 22 Jul 2018 15:01:05 -0700 Subject: Re-autoformatted everything. The main changes are: no longer adding a newline after 1-line indented code inside blocks, and forcing files to have a trailing newline. The trailing newline thing created a lot of spurious changes. --- tools/test.nom | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tools/test.nom') diff --git a/tools/test.nom b/tools/test.nom index 3d3329f..a80ea55 100755 --- a/tools/test.nom +++ b/tools/test.nom @@ -17,6 +17,7 @@ for %path in (command line args): for %src = %test in %tests: if (%src.filename == %filename): add {test:%test, source:%src} to %file_tests + unless (%file_tests is empty): sort %file_tests by % -> %.source lua> "io.write('[ .. ] ', \%filename); io.flush()" @@ -25,7 +26,7 @@ for %path in (command line args): if %verbose: say " \(yellow (%.test with "\n" replaced by "\n "))" run %.test - if %verbose: - say (green "PASS") + + if %verbose: say (green "PASS") ..else: say "\r[\(green "PASS")" -- cgit v1.2.3