From ec5d87601d800b965a41d9ff592463fe38121602 Mon Sep 17 00:00:00 2001 From: Ryan Rotter Date: Sat, 29 Jun 2024 17:09:04 -0400 Subject: [PATCH] desc_spec: expect search to succeed w/o eval-all --- Library/Homebrew/test/cmd/desc_spec.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Library/Homebrew/test/cmd/desc_spec.rb b/Library/Homebrew/test/cmd/desc_spec.rb index 1ceb790260964f..37d3408bcbb352 100644 --- a/Library/Homebrew/test/cmd/desc_spec.rb +++ b/Library/Homebrew/test/cmd/desc_spec.rb @@ -15,12 +15,12 @@ .and be_a_success end - it "errors when searching without --eval-all", :integration_test do + it "successfully searches without --eval-all", :integration_test do setup_test_formula "testball" expect { brew "desc", "--search", "testball" } - .to output(/`brew desc --search` needs `--eval-all` passed or `HOMEBREW_EVAL_ALL` set!/).to_stderr - .and be_a_failure + .to output(/testball: Some test/).to_stdout + .and not_to_output.to_stderr end it "successfully searches with --search --eval-all", :integration_test do