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

Commit 6b4aa7f

Browse files
committed
Remove blank lines
1 parent fc6cf03 commit 6b4aa7f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/rspec/support/spec/shell_out.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,9 @@ def strip_known_warnings(input)
6565
# This is a JRuby file that generates warnings on 9.0.3.0
6666
l =~ %r{lib/ruby/stdlib/jar} ||
6767
# This is a JRuby file that generates warnings on 9.1.7.0
68-
l =~ %r{org/jruby/RubyKernel\.java}
68+
l =~ %r{org/jruby/RubyKernel\.java} ||
69+
# Remove blank lines
70+
l == "" || l == nil
6971
end.join("\n")
7072
end
7173

0 commit comments

Comments
 (0)