зеркало из https://github.com/github/ruby.git
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:
Родитель
503fa1620c
Коммит
2a5b5ff49a
|
@ -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
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче