Skip to content

Commit

Permalink
test that desc --search works w/o eval-all w/ api
Browse files Browse the repository at this point in the history
  • Loading branch information
rrotter committed Jun 30, 2024
1 parent 4326947 commit 9204acb
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 9204acb

Please sign in to comment.