Make test for “cask already installed” less strict.

This commit is contained in:
Markus Reiter 2016-10-01 23:27:14 +02:00
parent 4f1ef16cbf
commit e4da2dfb9f

View File

@ -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