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

Commit 0930546

Browse files
committed
Ignore Aruba warning
1 parent 3af7bae commit 0930546

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/rspec/support/spec/stderr_splitter.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@ def to_io
3838
def write(line)
3939
return if line =~ %r{^\S+/gems/\S+:\d+: warning:} # http://rubular.com/r/kqeUIZOfPG
4040

41+
# Ruby 2.7.0 complains about hashes used in place of keyword arguments
42+
# Aruba 0.14.2 uses this internally triggering that here
43+
return if line =~ %r{lib/ruby/2\.7\.0/fileutils\.rb:622: warning:}
44+
4145
@orig_stderr.write(line)
4246
@output_tracker.write(line)
4347
end

0 commit comments

Comments
 (0)