Skip to content

Commit f7b4768

Browse files
Fix borked test.
1 parent e64e3dc commit f7b4768

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test/async/limited_queue.rb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,9 @@ def before
9595

9696
queue.close
9797

98-
waiting_task.wait
99-
expect(waiting_task).to be(:finished?)
98+
expect do
99+
waiting_task.wait
100+
end.to raise_exception(Async::Queue::ClosedError)
100101
end
101102
end
102103
end

0 commit comments

Comments
 (0)