diff --git a/tests/stdlib/tsharedtable.nim b/tests/stdlib/tsharedtable.nim index a6e1d7df8f082..93428615b7cc6 100644 --- a/tests/stdlib/tsharedtable.nim +++ b/tests/stdlib/tsharedtable.nim @@ -66,10 +66,15 @@ block: # we use Table as groundtruth, it's well tested elsewhere doAssert t.mgetOrPut(i, -2) == -2 doAssert t.mget(i) == -2 + var numOK = 0 for i in 0.. 0 + doAssert numOK < n4 checkEquals() @@ -87,17 +92,3 @@ block: # we use Table as groundtruth, it's well tested elsewhere var t0: Table[int, int] testDel(t, t0) deinitSharedTable(t) - -block: # CHECKME:redundant w above? - let n = 100 - let n2 = n * 2 - for i in 0..