aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorMike McQuaid2016-05-08 17:11:57 +0100
committerMike McQuaid2016-05-08 17:11:57 +0100
commit61614d35294c8faffaeb5c7f0ec6dea78dbbc30f (patch)
treecce8d125dcb04007fd2f9e26ab4959e810eafc54 /Library/Homebrew
parent181ebbfaeb763e1a4f979568ed716c1a14cd26cd (diff)
downloadbrew-61614d35294c8faffaeb5c7f0ec6dea78dbbc30f.tar.bz2
test_integration_cmds: add cleanup test.
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/test/test_integration_cmds.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/Library/Homebrew/test/test_integration_cmds.rb b/Library/Homebrew/test/test_integration_cmds.rb
index ed6f2e602..ff1771974 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")