Skip to content

Commit

Permalink
test brew desc -s works w/ API w/o --eval-all
Browse files Browse the repository at this point in the history
  • Loading branch information
rrotter committed Jul 1, 2024
1 parent 99486c8 commit 4f6771c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Library/Homebrew/test/cmd/desc_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,11 @@
.to output(/testball: Some test/).to_stdout
.and not_to_output.to_stderr
end

it "successfully searches without --eval-all, with API", :integration_test do
setup_test_formula "testball"

expect { brew "desc", "--search", "testball", "HOMEBREW_NO_INSTALL_FROM_API" => nil }
.to be_a_success
end
end

0 comments on commit 4f6771c

Please sign in to comment.