mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
test_tmpdir.rb: remove tmpdir
* test/test_tmpdir.rb (TestTmpdir#test_no_homedir): remove created tmpdir. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38669 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
56554d12a5
commit
5c7027d227
1 changed files with 1 additions and 0 deletions
|
@ -28,5 +28,6 @@ class TestTmpdir < Test::Unit::TestCase
|
|||
assert_match(/\A~/, File.basename(dir), bug7547)
|
||||
ensure
|
||||
ENV["HOME"] = home
|
||||
Dir.rmdir(dir) if dir
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue