From ebdb879fe4b0d14bcc92480a3dd193c93f94a23f Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Thu, 8 Sep 2016 09:05:00 +0100 Subject: Add `--help` to all developer commands. Also, flag those that we never want to be in a manpage. --- Library/Homebrew/test/test_integration_cmds.rb | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'Library/Homebrew/test') diff --git a/Library/Homebrew/test/test_integration_cmds.rb b/Library/Homebrew/test/test_integration_cmds.rb index c83d7522a..9ea305344 100644 --- a/Library/Homebrew/test/test_integration_cmds.rb +++ b/Library/Homebrew/test/test_integration_cmds.rb @@ -273,10 +273,8 @@ class IntegrationCommandTests < Homebrew::TestCase cmd("help", "cat")) # Internal command (documented, Ruby). assert_match(/^brew update /, cmd("help", "update")) # Internal command (documented, Shell). - if ARGV.homebrew_developer? - assert_match "Example usage:\n", - cmd("help", "test-bot") # Internal developer command (undocumented). - end + assert_match(/^brew test-bot /, + cmd("help", "test-bot")) # Internal developer command (documented, Ruby). end def test_config -- cgit v1.2.3