aboutsummaryrefslogtreecommitdiff
path: root/tests/os.nom
diff options
context:
space:
mode:
Diffstat (limited to 'tests/os.nom')
-rw-r--r--tests/os.nom4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/os.nom b/tests/os.nom
index c67279e..9b546ef 100644
--- a/tests/os.nom
+++ b/tests/os.nom
@@ -7,7 +7,9 @@ use "lib/os.nom"
%lines <-: lines in: read file "tests/os.nom"
assume: %lines.2 = " Tests for the stuff defined in lib/os.nom"
+%n <- 0
for file %f in "core"
- say "\%f"
+ %n +<- 1
+assume (%n > 0) or barf "Failed to walk the 'core' directory"
say "OS test passed."