aboutsummaryrefslogtreecommitdiffstats
path: root/test/ruby/test_env.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby/test_env.rb')
-rw-r--r--test/ruby/test_env.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/ruby/test_env.rb b/test/ruby/test_env.rb
index 97bf8fa476..681b21d614 100644
--- a/test/ruby/test_env.rb
+++ b/test/ruby/test_env.rb
@@ -96,6 +96,7 @@ class TestEnv < Test::Unit::TestCase
assert_raise(ArgumentError) { ENV["foo\0bar"] }
ENV[PATH_ENV] = ""
assert_equal("", ENV[PATH_ENV])
+ assert_nil(ENV[""])
end
def test_fetch