Skip to content

Commit fd674d8

Browse files
committed
fix test
1 parent cd6d44f commit fd674d8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/redis_queue_test.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ def == other
3232
it "blocks on poll" do
3333
queue = q
3434

35-
t = Thread.new { queue.poll(1) }
3635
x = Thing.new
37-
3836
queue.push x
37+
t = Thread.new { queue.poll(1) }
38+
3939
assert_equal [queue, x], t.join.value
4040
end
4141

0 commit comments

Comments
 (0)