make more tests green

This commit is contained in:
Andreas Rumpf 2018-08-14 21:15:03 +02:00
commit 94684488d6
5 changed files with 8 additions and 38 deletions

View file

@ -1329,7 +1329,7 @@ when isMainModule:
doAssert clearTable[42] == "asd"
clearTable.clear()
doAssert(not clearTable.hasKey(123123))
doAssert clearTable.getOrDefault(42) == nil
doAssert clearTable.getOrDefault(42) == ""
block: #5482
var a = [("wrong?","foo"), ("wrong?", "foo2")].newOrderedTable()