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)
Warning.[]= :experimental emits and suppresses warnings for :experimental FAILED
Expected "" =~ /is experimental/
to be truthy but was nil
```
This commit is contained in:
Kazuhiro NISHIYAMA 2021-07-17 13:24:08 +09:00
parent 503fa1620c
commit 2a5b5ff49a
No known key found for this signature in database
GPG key ID: 262ED8DBB4222F7A

View file

@ -14,7 +14,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