We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5740b8b commit 6e488a3Copy full SHA for 6e488a3
1 file changed
core/warning/categories_spec.rb
@@ -2,8 +2,11 @@
2
3
ruby_version_is "3.4" do
4
describe "Warning.categories" do
5
+ # There might be more, but these are standard across Ruby implementations
6
it "returns the list of possible warning categories" do
- Warning.categories.sort.should == [:deprecated, :experimental, :performance, :strict_unused_block]
7
+ Warning.categories.should.include? :deprecated
8
+ Warning.categories.should.include? :experimental
9
+ Warning.categories.should.include? :performance
10
end
11
12
0 commit comments