mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
2.8 -> 3.0 in specs
This commit is contained in:
parent
9b535f3ff7
commit
1af0319fc8
147 changed files with 199 additions and 201 deletions
2
spec/ruby/core/env/delete_spec.rb
vendored
2
spec/ruby/core/env/delete_spec.rb
vendored
|
@ -30,7 +30,7 @@ describe "ENV.delete" do
|
|||
ScratchPad.recorded.should == "foo"
|
||||
end
|
||||
|
||||
ruby_version_is "2.8" do
|
||||
ruby_version_is "3.0" do
|
||||
it "returns the result of given block if the named environment variable does not exist" do
|
||||
ENV.delete("foo")
|
||||
ENV.delete("foo") { |name| "bar" }.should == "bar"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue