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

Commit f239c6b

Browse files
committed
Ignore extra JRuby line from 1.7
1 parent 8cd4364 commit f239c6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/rspec/support/spec/shell_out.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def strip_known_warnings(input)
9292
if Ruby.jruby?
9393
def filter(output)
9494
output.each_line.reject do |line|
95-
line.include?("lib/ruby/shared/rubygems/defaults/jruby")
95+
line.include?("lib/ruby/shared/rubygems/defaults/jruby") || line.include?("lib/ruby/shared/rubygems")
9696
end.join($/)
9797
end
9898
else

0 commit comments

Comments
 (0)