aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test
diff options
context:
space:
mode:
authorMike McQuaid2016-09-08 09:05:00 +0100
committerMike McQuaid2016-09-08 09:05:00 +0100
commitebdb879fe4b0d14bcc92480a3dd193c93f94a23f (patch)
tree03b1f4e1fce2db8e58f930800ee97f86e4cb08b7 /Library/Homebrew/test
parent9586390418dbcb8655bf7c62bb315c2a2090722e (diff)
downloadbrew-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.rb6
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