We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99ca101 commit a5063fdCopy full SHA for a5063fd
test/test_helper.rb
@@ -388,11 +388,11 @@ module JRubyZlibTestExtension
388
def capture_exceptions
389
super
390
391
- if failures&.reject! { |e| e.error&.is_a?(Zlib::BufError) } # nil if nothing rejected
+ if failures&.reject! { |e| e.error && e.error.is_a?(Zlib::BufError) } # nil if nothing rejected
392
failures << Minitest::Skip.new('Skipping Zlib::BufError in JRuby. See: https://github.com/jruby/jruby/issues/6613')
393
end
394
395
396
397
Minitest::Test.prepend(JRubyZlibTestExtension)
398
-end
+end
0 commit comments