Skip to content

Commit

Permalink
Replace usage of deprecated exception class
Browse files Browse the repository at this point in the history
  • Loading branch information
franzliedke committed Jul 11, 2017
1 parent 8ac725b commit 3b33354
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/msgr/test_pool.rb
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def ns_run(count: 1, timeout: 5)
timeout -= diff

if timeout <= 0
raise TimeoutError.new \
raise Timeout::Error.new \
"Expected to receive #{count} messages but received #{received}."
end
end
Expand Down

0 comments on commit 3b33354

Please sign in to comment.