From 0fbe87ca0619b717ff92fa1da3a2be9f463eebeb Mon Sep 17 00:00:00 2001 From: Lillian Zhang Date: Wed, 25 Nov 2020 11:28:29 -0500 Subject: [PATCH] testing spec again in CI; will force-push over this soon --- spec/ruby/core/array/shared/slice.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spec/ruby/core/array/shared/slice.rb b/spec/ruby/core/array/shared/slice.rb index 1ad1bc6e0a7..ab83d25832c 100644 --- a/spec/ruby/core/array/shared/slice.rb +++ b/spec/ruby/core/array/shared/slice.rb @@ -552,9 +552,9 @@ def to.to_int() -2 end it "can accept nil...nil ranges" do a = [0, 1, 2, 3, 4, 5] - a.send(@method, (nil..nil)).should == a - a.send(@method, (nil...)).should == a - a.send(@method, (..nil)).should == a + a.send(@method, eval("(nil...nil)")).should == a + a.send(@method, eval("(...nil)"))).should == a + a.send(@method, eval("(nil..)"))).should == a end end end