summary refs log tree commit diff stats
path: root/tests/stdlib/trepr.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/stdlib/trepr.nim')
-rw-r--r--tests/stdlib/trepr.nim8
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/stdlib/trepr.nim b/tests/stdlib/trepr.nim
index 0511d1004..3956b98f9 100644
--- a/tests/stdlib/trepr.nim
+++ b/tests/stdlib/trepr.nim
@@ -1,6 +1,6 @@
 discard """
   targets: "c cpp js"
-  matrix: ";--gc:arc"
+  matrix: "--mm:refc;--mm:arc"
 """
 
 # if excessive, could remove 'cpp' from targets
@@ -40,7 +40,7 @@ template main() =
   #[
   BUG:
   --gc:arc returns `"abc"`
-  regular gc returns with address, e.g. 0x1068aae60"abc", but only 
+  regular gc returns with address, e.g. 0x1068aae60"abc", but only
   for c,cpp backends (not js, vm)
   ]#
   block:
@@ -293,7 +293,7 @@ func fn2(): int =
 
       *a: b
       do: c
-    
+
     doAssert a == """foo(a, b, (c, d)):
   e
   f
@@ -322,5 +322,7 @@ else:
 do:
   c"""
 
+  doAssert repr(1..2) == "1 .. 2"
+
 static: main()
 main()