Fix directory leak in test_pathname_version

This commit is contained in:
Jack Nagel 2014-06-23 21:13:12 -05:00
parent f9fd3f46d4
commit 9f03b28573

View File

@ -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