Ensure brew cat output is empty on failure.
This commit is contained in:
parent
f438fa98be
commit
e26311236f
@ -14,6 +14,7 @@ describe "brew", :integration_test do
|
||||
it "prints help when no argument is given" do
|
||||
expect { brew "cat" }
|
||||
.to output(/^Usage: brew cat/).to_stderr
|
||||
.and not_to_output.to_stdout
|
||||
.and be_a_failure
|
||||
end
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user