summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--tests/stdlib/tnre.nim22
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/stdlib/tnre.nim b/tests/stdlib/tnre.nim
index 85792b81e..030319ebf 100644
--- a/tests/stdlib/tnre.nim
+++ b/tests/stdlib/tnre.nim
@@ -1,3 +1,25 @@
+discard """
+# Since the tests for nre are all bundled together we treat failure in one test as an nre failure
+# When running 'tests/testament/tester' a failed check() in the test suite will cause the exit
+# codes to differ and be reported as a failure
+
+  output:
+    '''[Suite] Test NRE initialization
+
+[Suite] captures
+
+[Suite] find
+
+[Suite] string splitting
+
+[Suite] match
+
+[Suite] replace
+
+[Suite] escape strings
+
+[Suite] Misc tests'''
+"""
 import nre
 import nre.init
 import nre.captures