Skip to content

Commit

Permalink
Range#max spec version 2.7.2 -> 3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Lillian Zhang committed Nov 28, 2020
1 parent 3483fb7 commit b07bcf0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/ruby/core/range/max_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
end
end

ruby_version_is "2.7.2" do
ruby_version_is "3.0" do
it "returns the end point (or one less) for beginless ranges" do
eval("(...1)").max.should == 0
eval("(..1)").max.should == 1
Expand Down

0 comments on commit b07bcf0

Please sign in to comment.