diff options
| author | Mike McQuaid | 2016-09-08 09:05:00 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2016-09-08 09:05:00 +0100 |
| commit | ebdb879fe4b0d14bcc92480a3dd193c93f94a23f (patch) | |
| tree | 03b1f4e1fce2db8e58f930800ee97f86e4cb08b7 /Library/Homebrew/test | |
| parent | 9586390418dbcb8655bf7c62bb315c2a2090722e (diff) | |
| download | brew-ebdb879fe4b0d14bcc92480a3dd193c93f94a23f.tar.bz2 | |
Add `--help` to all developer commands.
Also, flag those that we never want to be in a manpage.
Diffstat (limited to 'Library/Homebrew/test')
| -rw-r--r-- | Library/Homebrew/test/test_integration_cmds.rb | 6 |
1 files changed, 2 insertions, 4 deletions
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 |
