diff options
| -rw-r--r-- | Library/Homebrew/test/test_integration_cmds.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/test/test_integration_cmds.rb b/Library/Homebrew/test/test_integration_cmds.rb index 805980fdf..34d681fc4 100644 --- a/Library/Homebrew/test/test_integration_cmds.rb +++ b/Library/Homebrew/test/test_integration_cmds.rb @@ -159,7 +159,7 @@ class IntegrationCommandTests < Homebrew::TestCase (HOMEBREW_CACHE/"test").write "test" assert_match "#{HOMEBREW_CACHE}/test", cmd("cleanup", "--prune=all") ensure - (HOMEBREW_CACHE/"test").rmtree + FileUtils.rm_f HOMEBREW_CACHE/"test" end def test_readall |
