aboutsummaryrefslogtreecommitdiffstats
path: root/spec/ruby/core/integer
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2022-12-26 13:52:48 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2022-12-26 13:52:48 +0900
commita236661a62dc89173dcdd9e071365929db1201a7 (patch)
tree7ecd378e582a5a70e9d74369826dddc0a200c87d /spec/ruby/core/integer
parent5ec94ff7400c812b4e662560271540bc5690d307 (diff)
downloadruby-a236661a62dc89173dcdd9e071365929db1201a7.tar.gz
Skip some examples for Ruby 3.3
Diffstat (limited to 'spec/ruby/core/integer')
-rw-r--r--spec/ruby/core/integer/left_shift_spec.rb2
-rw-r--r--spec/ruby/core/integer/right_shift_spec.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/ruby/core/integer/left_shift_spec.rb b/spec/ruby/core/integer/left_shift_spec.rb
index 135af90421..6774e1f3e1 100644
--- a/spec/ruby/core/integer/left_shift_spec.rb
+++ b/spec/ruby/core/integer/left_shift_spec.rb
@@ -191,7 +191,7 @@ describe "Integer#<< (with n << m)" do
(0 << bignum_value).should == 0
end
- ruby_bug "#18518", ""..."3.3" do
+ ruby_bug "#18518", ""..."3.4" do
it "raises NoMemoryError when m > 0 and n != 0" do
coerce_long = mock("long")
coerce_long.stub!(:to_int).and_return(2**40)
diff --git a/spec/ruby/core/integer/right_shift_spec.rb b/spec/ruby/core/integer/right_shift_spec.rb
index 81405667b2..3fef09a30a 100644
--- a/spec/ruby/core/integer/right_shift_spec.rb
+++ b/spec/ruby/core/integer/right_shift_spec.rb
@@ -213,7 +213,7 @@ describe "Integer#>> (with n >> m)" do
(0 >> -bignum_value).should == 0
end
- ruby_bug "#18518", ""..."3.3" do
+ ruby_bug "#18518", ""..."3.4" do
it "raises NoMemoryError when m < 0 and n != 0" do
coerce_long = mock("long")
coerce_long.stub!(:to_int).and_return(-(2**40))