diff --git a/Library/Homebrew/test/test_integration_cmds.rb b/Library/Homebrew/test/test_integration_cmds.rb index ed6f2e60207b32176bea78faeddc2c25af46909b..ff177197408b697ad009feb59778dfa08e792fbf 100644 --- a/Library/Homebrew/test/test_integration_cmds.rb +++ b/Library/Homebrew/test/test_integration_cmds.rb @@ -109,6 +109,11 @@ class IntegrationCommandTests < Homebrew::TestCase cmd("--cellar", testball) end + def test_cleanup + assert_equal HOMEBREW_CACHE.to_s, + cmd("cleanup") + end + def test_env assert_match %r{CMAKE_PREFIX_PATH="#{HOMEBREW_PREFIX}[:"]}, cmd("--env")