Skip to content

Commit

Permalink
Merge pull request #5061 from yglukhov/test-case-fixup
Browse files Browse the repository at this point in the history
Corrected test case for #5057.
  • Loading branch information
Araq committed Nov 28, 2016
2 parents c001d95 + 10292a2 commit 98d2429
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/pure/collections/tables.nim
Expand Up @@ -1159,10 +1159,10 @@ when isMainModule:
doAssert(prev < i)
prev = i

block: # Deletion from OrederedTable should account for collision groups. See issue #5057.
block: # Deletion from OrderedTable should account for collision groups. See issue #5057.
# The bug is reproducible only with exact keys
const key1 = "boy_jackpot.inGamma1"
const key2 = "boy_jackpot.outBlack2"
const key1 = "boy_jackpot.inGamma"
const key2 = "boy_jackpot.outBlack"

var t = {
key1: 0,
Expand Down

0 comments on commit 98d2429

Please sign in to comment.