summary refs log tree commit diff stats
path: root/tests/collections
diff options
context:
space:
mode:
authordata-man <datamanrb@gmail.com>2018-06-07 18:49:59 +0300
committerdata-man <datamanrb@gmail.com>2018-06-07 18:49:59 +0300
commitcc63351a5a44ff5793195b59d961bc93257d879d (patch)
tree10aa9f73b5b218dca2e6dfda73782c1c878610d8 /tests/collections
parentaa7348b3565e9d63bda1c58b806b6d4f9cc522f9 (diff)
downloadNim-cc63351a5a44ff5793195b59d961bc93257d879d.tar.gz
Updated tests for CritBitTree $
Diffstat (limited to 'tests/collections')
-rw-r--r--tests/collections/tcollections_to_string.nim6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/collections/tcollections_to_string.nim b/tests/collections/tcollections_to_string.nim
index 48b06a6aa..0c4f1e91c 100644
--- a/tests/collections/tcollections_to_string.nim
+++ b/tests/collections/tcollections_to_string.nim
@@ -68,15 +68,15 @@ block:
 block:
   var t: CritBitTree[int]
   t["a"] = 1
-  doAssert $t == "{a: 1}"
+  doAssert $t == """{"a": 1}"""
 block:
   var t: CritBitTree[string]
   t["a"] = "1"
-  doAssert $t == """{a: "1"}"""
+  doAssert $t == """{"a": "1"}"""
 block:
   var t: CritBitTree[char]
   t["a"] = '1'
-  doAssert $t == "{a: '1'}"
+  doAssert $t == """{"a": '1'}"""
 
 
 # Test escaping behavior