aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-06-23 21:50:57 -0500
committerJack Nagel2014-06-23 22:34:05 -0500
commitf953bab9877f14d47a2b6c12e35c34b07a99c8cb (patch)
tree7f3f307e378a1aaa2188a772f09c6a80cf8b1bbf /Library
parentd7e4e990a4f966d116c12e14f135afcd78ed675b (diff)
downloadhomebrew-f953bab9877f14d47a2b6c12e35c34b07a99c8cb.tar.bz2
Fix file leak in lock tests
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/test/test_formula_lock.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/test/test_formula_lock.rb b/Library/Homebrew/test/test_formula_lock.rb
index f3419a315..1cc76d0a1 100644
--- a/Library/Homebrew/test/test_formula_lock.rb
+++ b/Library/Homebrew/test/test_formula_lock.rb
@@ -9,6 +9,7 @@ class FormulaLockTests < Homebrew::TestCase
def teardown
@lock.unlock
+ FormulaLock::LOCKDIR.children.each(&:unlink)
end
def test_locking_file_with_existing_lock_raises_error