diff --git a/Library/Homebrew/test/test_integration_cmds.rb b/Library/Homebrew/test/test_integration_cmds.rb index eb2bafd5d8..1c7da68181 100644 --- a/Library/Homebrew/test/test_integration_cmds.rb +++ b/Library/Homebrew/test/test_integration_cmds.rb @@ -250,6 +250,8 @@ class IntegrationCommandTests < Homebrew::TestCase end assert_match(/testball-0\.1.*\.bottle\.tar\.gz/, cmd_output("bottle", "--no-revision", "testball")) + ensure + FileUtils.rm_f Dir["testball-0.1*.bottle.tar.gz"] end def test_uninstall