diff options
author | nagachika <nagachika@ruby-lang.org> | 2020-07-25 12:00:39 +0900 |
---|---|---|
committer | nagachika <nagachika@ruby-lang.org> | 2020-07-25 12:00:39 +0900 |
commit | 89f06ce8b8a887f12b53ea190d79a58e98b59008 (patch) | |
tree | 983a679a9ac164a09e252dab313460e918dfd047 /test | |
parent | 2e9626fddd168bd12352b4f5dc3412c6a33ce44e (diff) |
merge revision(s) 08529a61153e5c40f57a65272211357511d6e6db: [Backport #16798]
Compare environment variable names in those manor [Bug #16798]
Diffstat (limited to 'test')
-rw-r--r-- | test/ruby/test_env.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/ruby/test_env.rb b/test/ruby/test_env.rb index f93cd503d8..02cd3b8502 100644 --- a/test/ruby/test_env.rb +++ b/test/ruby/test_env.rb @@ -433,6 +433,8 @@ class TestEnv < Test::Unit::TestCase ENV["foo"] = "xxx" ENV.replace({"foo"=>"bar", "baz"=>"qux"}) check(ENV.to_hash.to_a, [%w(foo bar), %w(baz qux)]) + ENV.replace({"Foo"=>"Bar", "Baz"=>"Qux"}) + check(ENV.to_hash.to_a, [%w(Foo Bar), %w(Baz Qux)]) end def test_update |