diff options
author | Kazuhiro NISHIYAMA <zn@mbf.nifty.com> | 2021-07-17 13:16:48 +0900 |
---|---|---|
committer | Kazuhiro NISHIYAMA <zn@mbf.nifty.com> | 2021-07-17 13:16:48 +0900 |
commit | 503fa1620c1da74a15831bf864320cae4b17dc56 (patch) | |
tree | 294cd7a07c83b05857f94b193b32c651a3cc4fa1 /spec | |
parent | f36a5a7624f7b5ac453d3bb2eef5d32c7ee4fea3 (diff) |
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
```
Diffstat (limited to 'spec')
-rw-r--r-- | spec/ruby/command_line/dash_upper_w_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/command_line/dash_upper_w_spec.rb b/spec/ruby/command_line/dash_upper_w_spec.rb index b705638606..1b36a1cc22 100644 --- a/spec/ruby/command_line/dash_upper_w_spec.rb +++ b/spec/ruby/command_line/dash_upper_w_spec.rb @@ -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 |