Skip to content

Commit 280ce2d

Browse files
znzeregon
authored andcommitted
Fix a spec failure
``` 1) Warning.[]= :experimental emits and suppresses warnings for :experimental FAILED Expected "" =~ /is experimental/ to be truthy but was nil ```
1 parent db63ad6 commit 280ce2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/warning/element_set_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
end
1515

1616
ruby_version_is "3.0" do
17-
@src = '[0, 1] => [a, b]'
17+
@src = 'warn "This is experimental warning.", category: :experimental'
1818
end
1919
end
2020

0 commit comments

Comments
 (0)