mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Fix a spec failure
``` 1) The -W command line option with :no-experimental suppresses experimental warnings FAILED Expected "" =~ /is experimental/ to be truthy but was nil ```
This commit is contained in:
parent
f36a5a7624
commit
503fa1620c
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ ruby_version_is "2.7" do
|
||||||
end
|
end
|
||||||
|
|
||||||
ruby_version_is "3.0" do
|
ruby_version_is "3.0" do
|
||||||
@src = '[0, 1] => [a, b]'
|
@src = 'warn "This is experimental warning.", category: :experimental'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue