summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-01-01 14:35:04 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-01-01 14:35:04 +0000
commit5c7027d227f6c1517d6fd2767ad08b6c7e9fc3bf (patch)
treed8004959e0a7d6e06d14b3dddba1f8ddd65ca17a
parent56554d12a5f2ae7189980649832a301bd97304fd (diff)
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
-rw-r--r--test/test_tmpdir.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/test_tmpdir.rb b/test/test_tmpdir.rb
index 61d3f60..3bdce35 100644
--- a/test/test_tmpdir.rb
+++ b/test/test_tmpdir.rb
@@ -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