tests: update linkapps/unlinkapps tests
This commit is contained in:
parent
ea38a70395
commit
f2245adaa7
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user