diff options
| author | Alexey Alekhin | 2017-08-31 03:03:00 +0200 |
|---|---|---|
| committer | Alexey Alekhin | 2017-08-31 03:03:00 +0200 |
| commit | 68dd0ac918639e6c1cbe7ba1800cda3646ba4e0b (patch) | |
| tree | 386a3895f81bf137e7760448ff9df9703ae3a36f /Library | |
| parent | 6ac0b9881de5a00a884ca5e59553583d1ada0fc5 (diff) | |
| download | brew-68dd0ac918639e6c1cbe7ba1800cda3646ba4e0b.tar.bz2 | |
Changed warning message as recommended by @reitermarkus
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/cask/lib/hbc/cli/search.rb | 2 | ||||
| -rw-r--r-- | Library/Homebrew/test/cask/cli/search_spec.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/cask/lib/hbc/cli/search.rb b/Library/Homebrew/cask/lib/hbc/cli/search.rb index 8fb8b91ec..d56d0c81f 100644 --- a/Library/Homebrew/cask/lib/hbc/cli/search.rb +++ b/Library/Homebrew/cask/lib/hbc/cli/search.rb @@ -27,7 +27,7 @@ module Hbc extension: "rb", ) rescue GitHub::Error => error - opoo "Online search failed: #{error}\n" + opoo "Error searching on GitHub: #{error}\n" [] end matches.map do |match| diff --git a/Library/Homebrew/test/cask/cli/search_spec.rb b/Library/Homebrew/test/cask/cli/search_spec.rb index 06f0b4b32..85bb42c56 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(/^Warning: Online search failed: reason/).to_stderr + .and output(/^Warning: Error searching on GitHub: reason/).to_stderr end it "shows that there are no Casks matching a search term that did not result in anything" do |
