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

Commit 20f703a

Browse files
authored
Merge pull request #416 from rspec/fix-jruby
Further change JRuby fix to be more permissive
2 parents d858f10 + 1b5ac96 commit 20f703a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/rspec/support/spec/shell_out.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,8 @@ def strip_known_warnings(input)
6767
# This is a JRuby file that generates warnings on 9.1.7.0
6868
l =~ %r{org/jruby/RubyKernel\.java} ||
6969
# This is a JRuby gem that generates warnings on 9.1.7.0
70-
l =~ %r{uninitialized constant FFI\nio/console on JRuby shells out to stty} ||
70+
l =~ %r{uninitialized constant FFI} ||
71+
l =~ %r{io/console on JRuby shells out to stty for most operations} ||
7172
# Remove blank lines
7273
l == "" || l.nil?
7374
end.join("\n")

0 commit comments

Comments
 (0)