aboutsummaryrefslogtreecommitdiffstats
path: root/spec/ruby/core/integer/left_shift_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/integer/left_shift_spec.rb')
-rw-r--r--spec/ruby/core/integer/left_shift_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/core/integer/left_shift_spec.rb b/spec/ruby/core/integer/left_shift_spec.rb
index 6774e1f3e1..9e57631a1c 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.4" do
+ with_feature(:no_memory_error, :infinite_memory) do
it "raises NoMemoryError when m > 0 and n != 0" do
coerce_long = mock("long")
coerce_long.stub!(:to_int).and_return(2**40)