Skip to content

Commit

Permalink
fixed_thread_pool_spec.rb: Avoid RSpec warning
Browse files Browse the repository at this point in the history
  • Loading branch information
olleolleolle authored and pitr-ch committed Feb 21, 2018
1 parent cf1e262 commit 7f84d02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/concurrent/executor/fixed_thread_pool_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ module Concurrent
end
end
latch.wait(1)
}.to raise_error
}.to raise_error(RejectedExecutionError)
end

# On discard, we'd expect no error, but also not all five results
Expand Down

0 comments on commit 7f84d02

Please sign in to comment.