aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2015-02-15 12:54:03 -0500
committerJack Nagel2015-02-15 12:54:03 -0500
commit3f3b7746dda4a36a05ad3c6bda32526dbeea5c19 (patch)
tree34b5b24c9af210585436e44046c331bad05964cd /Library
parenteaf82ba09b441852bf280782fd6b4ffb94c35069 (diff)
downloadbrew-3f3b7746dda4a36a05ad3c6bda32526dbeea5c19.tar.bz2
Fix another filesystem leak in updater tests
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/test/test_updater.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Homebrew/test/test_updater.rb b/Library/Homebrew/test/test_updater.rb
index 41824ebde..ec48851ae 100644
--- a/Library/Homebrew/test/test_updater.rb
+++ b/Library/Homebrew/test/test_updater.rb
@@ -51,6 +51,10 @@ class UpdaterTests < Homebrew::TestCase
@report = Report.new
end
+ def teardown
+ FileUtils.rm_rf HOMEBREW_LIBRARY.join("Taps")
+ end
+
def perform_update(fixture_name="")
@updater.diff = fixture(fixture_name)
@updater.in_repo_expect("git checkout -q master")