Skip to content
This repository was archived by the owner on Nov 30, 2024. It is now read-only.

Commit eff9b7f

Browse files
committed
Merge pull request #414 from rspec/fix-jruby-warning
Ignore JRuby warning
1 parent 0ed2c6a commit eff9b7f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/rspec/support/spec/shell_out.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ def strip_known_warnings(input)
6666
l =~ %r{lib/ruby/stdlib/jar} ||
6767
# This is a JRuby file that generates warnings on 9.1.7.0
6868
l =~ %r{org/jruby/RubyKernel\.java} ||
69+
# This is a JRuby gem that generates warnings on 9.1.7.0
70+
l =~ %r{ffi-1\.13\.\d-java} ||
6971
# Remove blank lines
7072
l == "" || l.nil?
7173
end.join("\n")

0 commit comments

Comments
 (0)