Permalink
Browse files

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
  • Loading branch information...
1 parent 56554d1 commit 5c7027d227f6c1517d6fd2767ad08b6c7e9fc3bf @nobu nobu committed Jan 1, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 test/test_tmpdir.rb
View
@@ -28,5 +28,6 @@ def test_no_homedir
assert_match(/\A~/, File.basename(dir), bug7547)
ensure
ENV["HOME"] = home
+ Dir.rmdir(dir) if dir
end
end

0 comments on commit 5c7027d

Please sign in to comment.