Fix directory leak in test_cleaner

This commit is contained in:
Jack Nagel 2014-06-23 21:28:40 -05:00
parent 45840f43a2
commit 4d14cafaa5

View File

@ -11,7 +11,7 @@ class CleanerTests < Homebrew::TestCase
end
def teardown
@f.prefix.rmtree if @f.prefix.exist?
@f.rack.rmtree if @f.rack.exist?
end
def test_clean_file