diff options
author | Timothee Cour <timothee.cour2@gmail.com> | 2021-03-31 09:24:39 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-31 18:24:39 +0200 |
commit | 9b67e5c61b50424e66b2a9bc8cc566058c71a223 (patch) | |
tree | 91ec4efef5380e7e0c065b2d640e53503769a5aa /tests/stdlib/thashes.nim | |
parent | 65efa727ffec223fd9e9fa8efcff38246f7b9ad4 (diff) | |
download | Nim-9b67e5c61b50424e66b2a9bc8cc566058c71a223.tar.gz |
jsonutils: support cstring (including as Table key); improve docs (#16062)
* jsonutils: support cstring (including as Table key); improve docs * changelog * un-disable a test now that #16061 was fixed
Diffstat (limited to 'tests/stdlib/thashes.nim')
-rw-r--r-- | tests/stdlib/thashes.nim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/stdlib/thashes.nim b/tests/stdlib/thashes.nim index a4487c8c0..044259f88 100644 --- a/tests/stdlib/thashes.nim +++ b/tests/stdlib/thashes.nim @@ -87,6 +87,7 @@ block largeSize: # longer than 4 characters proc main() = doAssert hash(0.0) == hash(0) + # bug #16061 doAssert hash(cstring"abracadabra") == 97309975 doAssert hash(cstring"abracadabra") == hash("abracadabra") |