diff options
| author | Mike McQuaid | 2017-08-15 10:25:51 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2017-08-15 10:25:51 +0100 |
| commit | 961d79011e0f0b2c63cf33f7818a4f0437e1643e (patch) | |
| tree | 1a0dc7f7ea71b66198697d30a3a3776037395831 /Library/Homebrew/test | |
| parent | b93f1e356990c4e7a12517edb479ddeab9b27978 (diff) | |
| download | brew-961d79011e0f0b2c63cf33f7818a4f0437e1643e.tar.bz2 | |
search: explain why it takes the time it does.
Provide a bit of clarity that this isn't just searching a local database
but doing an GitHub API and Git history query.
Diffstat (limited to 'Library/Homebrew/test')
| -rw-r--r-- | Library/Homebrew/test/cmd/search_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Library/Homebrew/test/cmd/search_spec.rb b/Library/Homebrew/test/cmd/search_spec.rb index 7c97e6e35..77c2c6352 100644 --- a/Library/Homebrew/test/cmd/search_spec.rb +++ b/Library/Homebrew/test/cmd/search_spec.rb @@ -14,7 +14,7 @@ describe "brew search", :integration_test do it "supports searching by name" do expect { brew "search", "testball" } .to output(/testball/).to_stdout - .and not_to_output.to_stderr + .and output(/Searching/).to_stderr .and be_a_success end @@ -25,10 +25,10 @@ describe "brew search", :integration_test do .and be_a_success end - it "falls back to a tap search when no formula is found" do + it "falls back to a GitHub tap search when no formula is found", :needs_network do expect { brew "search", "caskroom/cask/firefox" } .to output(/firefox/).to_stdout - .and not_to_output.to_stderr + .and output(/Searching/).to_stderr .and be_a_success end |
