brew/Library/Homebrew/test/test_integration_cmds_cleanup.rb

9 lines
239 B
Ruby

require "integration_cmds_tests"
class IntegrationCommandTestCleanup < IntegrationCommandTests
def test_cleanup
(HOMEBREW_CACHE/"test").write "test"
assert_match "#{HOMEBREW_CACHE}/test", cmd("cleanup", "--prune=all")
end
end