test_integration_cmds: add cleanup test.
This commit is contained in:
parent
181ebbfaeb
commit
61614d3529
@ -109,6 +109,11 @@ class IntegrationCommandTests < Homebrew::TestCase
|
|||||||
cmd("--cellar", testball)
|
cmd("--cellar", testball)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def test_cleanup
|
||||||
|
assert_equal HOMEBREW_CACHE.to_s,
|
||||||
|
cmd("cleanup")
|
||||||
|
end
|
||||||
|
|
||||||
def test_env
|
def test_env
|
||||||
assert_match %r{CMAKE_PREFIX_PATH="#{HOMEBREW_PREFIX}[:"]},
|
assert_match %r{CMAKE_PREFIX_PATH="#{HOMEBREW_PREFIX}[:"]},
|
||||||
cmd("--env")
|
cmd("--env")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user