aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/cask/cli
diff options
context:
space:
mode:
authorAlexey Alekhin2017-08-26 02:43:28 +0200
committerAlexey Alekhin2017-08-26 02:43:28 +0200
commit6ac0b9881de5a00a884ca5e59553583d1ada0fc5 (patch)
tree9bfbda6042fa3e64b9fd33f1a0413c41a64dd07d /Library/Homebrew/test/cask/cli
parent2a3f83b8d4ceeca370a60bbcb494990a2bd20801 (diff)
downloadbrew-6ac0b9881de5a00a884ca5e59553583d1ada0fc5.tar.bz2
Fixed test for the changed error message
Diffstat (limited to 'Library/Homebrew/test/cask/cli')
-rw-r--r--Library/Homebrew/test/cask/cli/search_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/test/cask/cli/search_spec.rb b/Library/Homebrew/test/cask/cli/search_spec.rb
index 48a4d556d..06f0b4b32 100644
--- a/Library/Homebrew/test/cask/cli/search_spec.rb
+++ b/Library/Homebrew/test/cask/cli/search_spec.rb
@@ -30,7 +30,7 @@ describe Hbc::CLI::Search, :cask do
local-caffeine
local-transmission
EOS
- .and output(/^Error: reason\n/).to_stderr
+ .and output(/^Warning: Online search failed: reason/).to_stderr
end
it "shows that there are no Casks matching a search term that did not result in anything" do