Skip to content

Commit

Permalink
Merge pull request #132845 from chenrui333/plz-cli-update-test
Browse files Browse the repository at this point in the history
plz-cli: update test
  • Loading branch information
BrewTestBot authored Jun 5, 2023
2 parents 4767b13 + 7639a39 commit 55485ef
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Formula/plz-cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ def install

test do
ENV["OPENAI_API_KEY"] = "sk-XXXXXXXX"
expected = "Incorrect API key provided: sk-XXXXXXXX"
assert_match expected, shell_output("#{bin}/plz brewtest", 1)
assert_match "API error", shell_output("#{bin}/plz brewtest", 1)
end
end

0 comments on commit 55485ef

Please sign in to comment.