Fix directory leak in test_cleaner
This commit is contained in:
parent
45840f43a2
commit
4d14cafaa5
@ -11,7 +11,7 @@ class CleanerTests < Homebrew::TestCase
|
|||||||
end
|
end
|
||||||
|
|
||||||
def teardown
|
def teardown
|
||||||
@f.prefix.rmtree if @f.prefix.exist?
|
@f.rack.rmtree if @f.rack.exist?
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_clean_file
|
def test_clean_file
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user