From b07bcf07efa7f59bcfb817bd074f7cb53e1de4e9 Mon Sep 17 00:00:00 2001 From: Lillian Zhang Date: Sat, 28 Nov 2020 18:31:59 -0500 Subject: [PATCH] Range#max spec version 2.7.2 -> 3.0 --- spec/ruby/core/range/max_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/ruby/core/range/max_spec.rb b/spec/ruby/core/range/max_spec.rb index cf6b95d48ccc..496a34b28200 100644 --- a/spec/ruby/core/range/max_spec.rb +++ b/spec/ruby/core/range/max_spec.rb @@ -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