1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Fix spec version guard

Follow up for 278fefb962
This commit is contained in:
Alan Wu 2022-06-16 16:34:14 -04:00
parent ae163cae6b
commit e46292197f

View file

@ -15,7 +15,7 @@ describe :env_update, shared: true do
ENV["bar"].should == "1"
end
ruby_version_is "3.1" do
ruby_version_is "3.2" do
it "adds the multiple parameter hashes to ENV, returning ENV" do
ENV.send(@method, {"foo" => "0", "bar" => "1"}, {"baz" => "2"}).should equal(ENV)
ENV["foo"].should == "0"