Skip to content
This repository has been archived by the owner on Apr 14, 2021. It is now read-only.

Commit

Permalink
Restore ignoring warnings for ruby 2.7
Browse files Browse the repository at this point in the history
  • Loading branch information
deivid-rodriguez committed Nov 12, 2019
1 parent f126283 commit 82bc2af
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spec/runtime/inline_spec.rb
Expand Up @@ -89,6 +89,7 @@ def script(code, options = {})

expect(out).to include("Installing activesupport")
err_lines = err.split("\n")
err_lines.reject!{|line| line =~ /\.rb:\d+: warning: / } unless RUBY_VERSION < "2.7"
expect(err_lines).to be_empty
expect(exitstatus).to be_zero if exitstatus
end
Expand Down

0 comments on commit 82bc2af

Please sign in to comment.