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
@ -90,7 +90,7 @@ describe "Numbered parameters" do
|
|||||||
proc { _2 }.parameters.should == [[:opt, :_1], [:opt, :_2]]
|
proc { _2 }.parameters.should == [[:opt, :_1], [:opt, :_2]]
|
||||||
end
|
end
|
||||||
|
|
||||||
ruby_version_is "".."3.4" do
|
ruby_version_is ""..."3.5" do
|
||||||
it "affects binding local variables" do
|
it "affects binding local variables" do
|
||||||
-> { _1; binding.local_variables }.call("a").should == [:_1]
|
-> { _1; binding.local_variables }.call("a").should == [:_1]
|
||||||
-> { _2; binding.local_variables }.call("a", "b").should == [:_1, :_2]
|
-> { _2; binding.local_variables }.call("a", "b").should == [:_1, :_2]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user