mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Use an exclusive range for ruby_version_is
This commit is contained in:
parent
1bc57b5e0e
commit
a1bdc36443
Notes:
git
2025-02-21 11:00:54 +00:00
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@ describe "Numbered parameters" do
|
|||
proc { _2 }.parameters.should == [[:opt, :_1], [:opt, :_2]]
|
||||
end
|
||||
|
||||
ruby_version_is "".."3.4" do
|
||||
ruby_version_is ""..."3.5" do
|
||||
it "affects binding local variables" do
|
||||
-> { _1; binding.local_variables }.call("a").should == [:_1]
|
||||
-> { _2; binding.local_variables }.call("a", "b").should == [:_1, :_2]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue