diff options
author | data-man <datamanrb@gmail.com> | 2018-06-07 18:49:59 +0300 |
---|---|---|
committer | data-man <datamanrb@gmail.com> | 2018-06-07 18:49:59 +0300 |
commit | cc63351a5a44ff5793195b59d961bc93257d879d (patch) | |
tree | 10aa9f73b5b218dca2e6dfda73782c1c878610d8 /tests/collections | |
parent | aa7348b3565e9d63bda1c58b806b6d4f9cc522f9 (diff) | |
download | Nim-cc63351a5a44ff5793195b59d961bc93257d879d.tar.gz |
Updated tests for CritBitTree $
Diffstat (limited to 'tests/collections')
-rw-r--r-- | tests/collections/tcollections_to_string.nim | 6 |
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 |