Skip to content

Commit 5740b8b

Browse files
herwinweregon
authored andcommitted
Add spec for Warning.categories
1 parent d871546 commit 5740b8b

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

core/warning/categories_spec.rb

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
require_relative '../../spec_helper'
2+
3+
ruby_version_is "3.4" do
4+
describe "Warning.categories" do
5+
it "returns the list of possible warning categories" do
6+
Warning.categories.sort.should == [:deprecated, :experimental, :performance, :strict_unused_block]
7+
end
8+
end
9+
end

0 commit comments

Comments
 (0)