aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cask/test
diff options
context:
space:
mode:
authorMarkus Reiter2016-10-06 12:56:39 +0200
committerGitHub2016-10-06 12:56:39 +0200
commit7e70ebd4f188e59172decc3a74aa61fbb4b58655 (patch)
tree3fa3b3f3212ce4308222bc8b45b6ebcc7f2a90b8 /Library/Homebrew/cask/test
parent6f070641b92d8ccaccb8c15713eb4b9c110c1ebd (diff)
parent0f7d1b137f55264366c772105e5026253906d896 (diff)
downloadbrew-7e70ebd4f188e59172decc3a74aa61fbb4b58655.tar.bz2
Merge pull request #1207 from reitermarkus/cask-already-installed-warning
Change `A Cask for #{token} is already installed.` message.
Diffstat (limited to 'Library/Homebrew/cask/test')
-rw-r--r--Library/Homebrew/cask/test/cask/cli/install_test.rb2
-rw-r--r--Library/Homebrew/cask/test/cask/installer_test.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/cask/test/cask/cli/install_test.rb b/Library/Homebrew/cask/test/cask/cli/install_test.rb
index 2d09846b7..138c497fb 100644
--- a/Library/Homebrew/cask/test/cask/cli/install_test.rb
+++ b/Library/Homebrew/cask/test/cask/cli/install_test.rb
@@ -29,7 +29,7 @@ describe Hbc::CLI::Install do
TestHelper.must_output(self, lambda {
Hbc::CLI::Install.run("local-transmission", "")
- }, %r{Warning: A Cask for local-transmission is already installed. Add the "--force" option to force re-install.})
+ }, %r{Warning: A Cask for local-transmission is already installed.})
end
it "allows double install with --force" do
diff --git a/Library/Homebrew/cask/test/cask/installer_test.rb b/Library/Homebrew/cask/test/cask/installer_test.rb
index 2275c3080..64a0e9b87 100644
--- a/Library/Homebrew/cask/test/cask/installer_test.rb
+++ b/Library/Homebrew/cask/test/cask/installer_test.rb
@@ -272,7 +272,7 @@ describe Hbc::Installer do
lambda {
installer.install
- }.must_raise(Hbc::CaskAutoUpdatesError)
+ }.must_raise(Hbc::CaskAlreadyInstalledAutoUpdatesError)
end
it "allows already-installed Casks which auto-update to be installed if force is provided" do