Skip to content

Commit

Permalink
testing spec again in CI; will force-push over this soon
Browse files Browse the repository at this point in the history
  • Loading branch information
Lillian Zhang committed Nov 25, 2020
1 parent 7e6189c commit 0fbe87c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spec/ruby/core/array/shared/slice.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 0fbe87c

Please sign in to comment.