Skip to content

Commit

Permalink
Assert against less specific exception
Browse files Browse the repository at this point in the history
  • Loading branch information
BlakeWilliams committed Apr 17, 2022
1 parent fb734cb commit d044ed2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_rack_server.rb
Expand Up @@ -144,7 +144,7 @@ def test_after_reply_exception
# * If we would block trying to read from the socket, we can assume that
# the erroneous 500 response wasn't/won't be written.
sleep 0.1
assert_raises IO::EAGAINWaitReadable do
assert_raises IO::WaitReadable do
content = socket.read_nonblock(12)
refute_includes content, "500"
end
Expand Down

0 comments on commit d044ed2

Please sign in to comment.