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
This commit is contained in:
parent
65efa727ff
commit
9b67e5c61b
4 changed files with 28 additions and 10 deletions
|
|
@ -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")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue