diff options
Diffstat (limited to 'spec/ruby/language/send_spec.rb')
-rw-r--r-- | spec/ruby/language/send_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/ruby/language/send_spec.rb b/spec/ruby/language/send_spec.rb index 17381166dc..e57e2c65dc 100644 --- a/spec/ruby/language/send_spec.rb +++ b/spec/ruby/language/send_spec.rb @@ -421,7 +421,7 @@ describe "Invoking a method" do specs.rest_len(0,*a,4,*5,6,7,*c,-1).should == 11 end - ruby_version_is ""..."2.8" do + ruby_version_is ""..."3.0" do it "expands the Array elements from the splat after executing the arguments and block if no other arguments follow the splat" do def self.m(*args, &block) [args, block] @@ -437,7 +437,7 @@ describe "Invoking a method" do end end - ruby_version_is "2.8" do + ruby_version_is "3.0" do it "expands the Array elements from the splat before applying block argument operations" do def self.m(*args, &block) [args, block] |