Skip to content

Commit

Permalink
test: use skip instead of return for jruby zlib test
Browse files Browse the repository at this point in the history
  • Loading branch information
flavorjones committed Jan 23, 2021
1 parent 467e076 commit 8466789
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_mechanize_http_agent.rb
Original file line number Diff line number Diff line change
Expand Up @@ -935,7 +935,7 @@ def test_response_content_encoding_gzip_corrupt
body_io = StringIO.new \
"\037\213\b\0002\002\225M\000\003+H,*\001"

return if jruby_zlib?
skip if jruby_zlib?

e = assert_raises Mechanize::Error do
@agent.response_content_encoding @res, body_io
Expand Down

0 comments on commit 8466789

Please sign in to comment.