Skip to content

Commit 6e488a3

Browse files
committed
Only spec standard Warning.categories
1 parent 5740b8b commit 6e488a3

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

core/warning/categories_spec.rb

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,11 @@
22

33
ruby_version_is "3.4" do
44
describe "Warning.categories" do
5+
# There might be more, but these are standard across Ruby implementations
56
it "returns the list of possible warning categories" do
6-
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
710
end
811
end
912
end

0 commit comments

Comments
 (0)