Skip to content

Commit db63ad6

Browse files
znzeregon
authored andcommitted
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 ```
1 parent 366722d commit db63ad6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

command_line/dash_upper_w_spec.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
end
3838

3939
ruby_version_is "3.0" do
40-
@src = '[0, 1] => [a, b]'
40+
@src = 'warn "This is experimental warning.", category: :experimental'
4141
end
4242
end
4343

0 commit comments

Comments
 (0)