Make brew help cat test stricter.

This commit is contained in:
Markus Reiter 2020-11-29 18:38:05 +01:00
parent a768859150
commit 81203d346c

View File

@ -6,6 +6,7 @@ describe "brew", :integration_test do
it "prints help for a documented Ruby command" do
expect { brew "help", "cat" }
.to output(/^Usage: brew cat/).to_stdout
.and not_to_output.to_stderr
.and be_a_success
end
end