aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/test/test_versions.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Homebrew/test/test_versions.rb b/Library/Homebrew/test/test_versions.rb
index f317237e3..ee63c7be9 100644
--- a/Library/Homebrew/test/test_versions.rb
+++ b/Library/Homebrew/test/test_versions.rb
@@ -96,6 +96,8 @@ class VersionParsingTests < Homebrew::TestCase
d = HOMEBREW_CELLAR/'foo-0.1.9'
d.mkpath
assert_equal version('0.1.9'), d.version
+ ensure
+ d.unlink
end
def test_no_version