Fixed test for the changed error message

This commit is contained in:
Alexey Alekhin 2017-08-26 02:43:28 +02:00
parent 2a3f83b8d4
commit 6ac0b9881d

View File

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