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