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

Add a test for Dir.mktmpdir(nil) [ruby-core:66943] [Bug #10616].

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48906 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2014-12-20 08:58:30 +00:00
parent 8b5c7d939d
commit fa9f7c2557

View file

@ -30,4 +30,10 @@ class TestTmpdir < Test::Unit::TestCase
ENV["HOME"] = home
Dir.rmdir(dir) if dir
end
def test_mktmpdir_nil
Dir.mktmpdir(nil) {|d|
assert_kind_of(String, d)
}
end
end