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
commit35b9a0070693c4491f4bd1c28fee69514168e02c (patch)
treef55f7f281cfe5c353fe76c1d92d0ba7381e0f1be /Library
parentf25f6fbb3981b64022b07e453a1583aa6915185a (diff)
downloadbrew-35b9a0070693c4491f4bd1c28fee69514168e02c.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