summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2023-11-07 09:56:54 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2023-11-07 09:56:54 +0900
commit31c36a444a1cd948b28fd968aa002c8a4960023d (patch)
tree46d2b3485c1f9d1a13bd5a04b09bd4c182355016
parent07df8a5d5ee725eee00632717ea4deead5fc783b (diff)
Skip example for 07df8a5d5ee725eee00632717ea4deead5fc783b
-rw-r--r--spec/ruby/library/English/English_spec.rb16
1 files changed, 9 insertions, 7 deletions
diff --git a/spec/ruby/library/English/English_spec.rb b/spec/ruby/library/English/English_spec.rb
index 480602d5e5..4d615d1e25 100644
--- a/spec/ruby/library/English/English_spec.rb
+++ b/spec/ruby/library/English/English_spec.rb
@@ -130,13 +130,15 @@ describe "English" do
$LAST_MATCH_INFO.should == $~
end
- it "aliases $IGNORECASE to $=" do
- $VERBOSE, verbose = nil, $VERBOSE
- begin
- $IGNORECASE.should_not be_nil
- $IGNORECASE.should == $=
- ensure
- $VERBOSE = verbose
+ ruby_version_is ""..."3.3" do
+ it "aliases $IGNORECASE to $=" do
+ $VERBOSE, verbose = nil, $VERBOSE
+ begin
+ $IGNORECASE.should_not be_nil
+ $IGNORECASE.should == $=
+ ensure
+ $VERBOSE = verbose
+ end
end
end