brew/Library/Homebrew/test/unlink_test.rb

11 lines
253 B
Ruby
Raw Normal View History

require "testing_env"
2016-09-27 00:03:40 +02:00
class IntegrationCommandTestUnlink < IntegrationCommandTestCase
def test_unlink
setup_test_formula "testball"
cmd("install", "testball")
assert_match "Would remove", cmd("unlink", "--dry-run", "testball")
end
end