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