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