summaryrefslogtreecommitdiff
path: root/spec/ruby/core/kernel/match_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/kernel/match_spec.rb')
-rw-r--r--spec/ruby/core/kernel/match_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/core/kernel/match_spec.rb b/spec/ruby/core/kernel/match_spec.rb
index 6dc1eb7de8..687cd68da4 100644
--- a/spec/ruby/core/kernel/match_spec.rb
+++ b/spec/ruby/core/kernel/match_spec.rb
@@ -14,7 +14,7 @@ describe "Kernel#=~" do
end
end
- ruby_version_is "2.6" do
+ ruby_version_is "2.6"..."2.7" do
it "is deprecated" do
-> do
Object.new =~ /regexp/