Skip to content

Commit

Permalink
un-disable a test now that #16061 was fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
timotheecour committed Mar 29, 2021
1 parent 8e3b51f commit d80e521
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 1 addition & 0 deletions tests/stdlib/thashes.nim
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand Down
4 changes: 1 addition & 3 deletions tests/stdlib/tjsonutils.nim
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,7 @@ template fn() =
block: # OrderedTable
testRoundtrip({"z": "Z", "y": "Y"}.toOrderedTable): """{"z":"Z","y":"Y"}"""
doAssert toJson({"z": 10, "": 11}.newTable).`$`.contains """"":11""" # allows hash to change
when nimvm: discard # pending bug #16061
else:
testRoundtrip({"z".cstring: 1, "".cstring: 2}.toOrderedTable): """{"z":1,"":2}"""
testRoundtrip({"z".cstring: 1, "".cstring: 2}.toOrderedTable): """{"z":1,"":2}"""
testRoundtrip({"z": (f1: 'f'), }.toTable): """{"z":{"f1":102}}"""

block: # StringTable
Expand Down

0 comments on commit d80e521

Please sign in to comment.