tests: update linkapps/unlinkapps tests

This commit is contained in:
Martin Afanasjew 2016-02-07 10:59:38 +01:00
parent ea38a70395
commit f2245adaa7

View File

@ -434,7 +434,7 @@ class IntegrationCommandTests < Homebrew::TestCase
source_dir = HOMEBREW_CELLAR/"testball/0.1/TestBall.app"
source_dir.mkpath
assert_match "Linking #{source_dir} to",
assert_match "Linking: #{source_dir}",
cmd("linkapps", "--local", {"HOME" => home})
ensure
formula_file.unlink
@ -459,7 +459,7 @@ class IntegrationCommandTests < Homebrew::TestCase
FileUtils.ln_s source_app, "#{apps_dir}/TestBall.app"
assert_match "Unlinking #{apps_dir}/TestBall.app",
assert_match "Unlinking: #{apps_dir}/TestBall.app",
cmd("unlinkapps", "--local", {"HOME" => home})
ensure
formula_file.unlink