test_formula_installer: fix log file leak
This commit is contained in:
parent
c4ba428d54
commit
c39b0ef000
@ -23,6 +23,8 @@ class InstallTests < Homebrew::TestCase
|
||||
keg.unlink
|
||||
keg.uninstall
|
||||
formula.clear_cache
|
||||
# there will be log files when sandbox is enable.
|
||||
formula.logs.rmtree if formula.logs.directory?
|
||||
end
|
||||
|
||||
refute_predicate keg, :exist?
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user