From 81203d346ce1b2f6c058ef2c63e405acc3ce5b6f Mon Sep 17 00:00:00 2001 From: Markus Reiter Date: Sun, 29 Nov 2020 18:38:05 +0100 Subject: [PATCH] Make `brew help cat` test stricter. --- Library/Homebrew/test/cmd/help_spec.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/Library/Homebrew/test/cmd/help_spec.rb b/Library/Homebrew/test/cmd/help_spec.rb index 28ec9881ef..6694b4b4b2 100644 --- a/Library/Homebrew/test/cmd/help_spec.rb +++ b/Library/Homebrew/test/cmd/help_spec.rb @@ -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