aboutsummaryrefslogtreecommitdiffstats
path: root/spec/ruby/core/integer
diff options
context:
space:
mode:
authorBenoit Daloze <eregontp@gmail.com>2023-01-05 21:07:29 +0100
committerBenoit Daloze <eregontp@gmail.com>2023-01-05 21:07:29 +0100
commit53938efd7b0ac868b177b3e748996a3aef4bccb6 (patch)
tree818acd6edc9c66a6b7611f8c50f1fbf0771520c6 /spec/ruby/core/integer
parent29a5fcd60b3738378b66499636a10f96a0f2a474 (diff)
downloadruby-53938efd7b0ac868b177b3e748996a3aef4bccb6.tar.gz
Update to ruby/spec@5e48206
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 9e57631a1c..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
- with_feature(:no_memory_error, :infinite_memory) 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 37246456df..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
- with_feature(:no_memory_error, :infinite_memory) 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))