Skip to content

Commit

Permalink
Fix a spec failure
Browse files Browse the repository at this point in the history
```
1)
The -W command line option with :no-experimental suppresses experimental warnings FAILED
Expected "" =~ /is experimental/
to be truthy but was nil
```
  • Loading branch information
znz committed Jul 17, 2021
1 parent f36a5a7 commit 503fa16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/ruby/command_line/dash_upper_w_spec.rb
Expand Up @@ -37,7 +37,7 @@
end

ruby_version_is "3.0" do
@src = '[0, 1] => [a, b]'
@src = 'warn "This is experimental warning.", category: :experimental'
end
end

Expand Down

0 comments on commit 503fa16

Please sign in to comment.