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 263f13f commit 38bcc32Copy full SHA for 38bcc32
test/test_helper.rb
@@ -502,8 +502,8 @@ def encrypt_xml(assertion_xml, private_key)
502
module JRubyZlibTestExtension
503
def capture_exceptions
504
super
505
- if failures&.any? {|e| e.error&.is_a?(Zlib::BufError) }
506
- failures.reject! {|e| e.error&.is_a?(Zlib::BufError) }
+
+ if failures&.reject! { |e| e.error&.is_a?(Zlib::BufError) } # nil if nothing rejected
507
failures << Minitest::Skip.new('Skipping Zlib::BufError in JRuby. See: https://github.com/jruby/jruby/issues/6613')
508
end
509
0 commit comments