Changed warning message as recommended by @reitermarkus
This commit is contained in:
parent
6ac0b9881d
commit
68dd0ac918
@ -27,7 +27,7 @@ module Hbc
|
|||||||
extension: "rb",
|
extension: "rb",
|
||||||
)
|
)
|
||||||
rescue GitHub::Error => error
|
rescue GitHub::Error => error
|
||||||
opoo "Online search failed: #{error}\n"
|
opoo "Error searching on GitHub: #{error}\n"
|
||||||
[]
|
[]
|
||||||
end
|
end
|
||||||
matches.map do |match|
|
matches.map do |match|
|
||||||
|
|||||||
@ -30,7 +30,7 @@ describe Hbc::CLI::Search, :cask do
|
|||||||
local-caffeine
|
local-caffeine
|
||||||
local-transmission
|
local-transmission
|
||||||
EOS
|
EOS
|
||||||
.and output(/^Warning: Online search failed: reason/).to_stderr
|
.and output(/^Warning: Error searching on GitHub: reason/).to_stderr
|
||||||
end
|
end
|
||||||
|
|
||||||
it "shows that there are no Casks matching a search term that did not result in anything" do
|
it "shows that there are no Casks matching a search term that did not result in anything" do
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user