summary refs log tree commit diff stats
path: root/tests/stdlib
diff options
context:
space:
mode:
Diffstat (limited to 'tests/stdlib')
-rw-r--r--tests/stdlib/tlists.nim2
-rw-r--r--tests/stdlib/treloop.nim2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/stdlib/tlists.nim b/tests/stdlib/tlists.nim
index 4caa05c90..37e73c53f 100644
--- a/tests/stdlib/tlists.nim
+++ b/tests/stdlib/tlists.nim
@@ -17,7 +17,7 @@ block SinglyLinkedListTest1:
 block SinglyLinkedListTest2:
   var L: TSinglyLinkedList[string]
   for d in items(data): L.prepend($d)
-  assert($L == "[6, 5, 4, 3, 2, 1]")
+  assert($L == """["6", "5", "4", "3", "2", "1"]""")
 
   assert("4" in L)
 
diff --git a/tests/stdlib/treloop.nim b/tests/stdlib/treloop.nim
index 35236708c..b4221525d 100644
--- a/tests/stdlib/treloop.nim
+++ b/tests/stdlib/treloop.nim
@@ -1,5 +1,5 @@
 discard """
-  output: "@[(, +,  1,  2, )]"
+  output: '''@["(", "+", " 1", " 2", ")"]'''
 """
 
 import re