summary refs log tree commit diff stats
path: root/tests/stdlib/tregex.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/stdlib/tregex.nim')
-rw-r--r--tests/stdlib/tregex.nim6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/stdlib/tregex.nim b/tests/stdlib/tregex.nim
index ae6714de1..9dd66cd60 100644
--- a/tests/stdlib/tregex.nim
+++ b/tests/stdlib/tregex.nim
@@ -1,6 +1,6 @@
 discard """
-  file: "tregex.nim"
   output: "key: keyAYes!"
+  matrix: "--mm:refc; --mm:orc"
 """
 # Test the new regular expression module
 # which is based on the PCRE library
@@ -12,7 +12,7 @@ when defined(powerpc64):
 else:
   import
     re
-
+  import std/syncio
   if "keyA = valueA" =~ re"\s*(\w+)\s*\=\s*(\w+)":
     write(stdout, "key: ", matches[0])
   elif "# comment!" =~ re.re"\s*(\#.*)":
@@ -27,5 +27,3 @@ else:
     echo("Bug!")
 
   #OUT key: keyAYes!
-
-