diff --git a/Library/Homebrew/test/cmd/help_spec.rb b/Library/Homebrew/test/cmd/help_spec.rb index 4d0cf035d1..28ec9881ef 100644 --- a/Library/Homebrew/test/cmd/help_spec.rb +++ b/Library/Homebrew/test/cmd/help_spec.rb @@ -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