Skip to content

Commit f03c5e7

Browse files
committed
fix tests
1 parent 3d05797 commit f03c5e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_thread.nim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ proc worker_fn() {.thread.} =
3939
for _ in 0..<COUNT:
4040
let val = r.rand(1048576)
4141
# increase the chance of collision
42-
if val > 1024:
42+
if val < 1024:
4343
sleep(1)
4444
when useMemFs:
4545
tdb.insert_data(val)

0 commit comments

Comments
 (0)