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 8369559 commit a2c92c1Copy full SHA for a2c92c1
1 file changed
core/warning/categories_spec.rb
@@ -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
9
+end
0 commit comments