1
0
Fork 0
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:
Kazuhiro NISHIYAMA 2021-07-17 13:16:48 +09:00
parent f36a5a7624
commit 503fa1620c
No known key found for this signature in database
GPG key ID: 262ED8DBB4222F7A

View file

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