diff options
| author | Mike McQuaid | 2016-09-08 09:55:53 +0100 |
|---|---|---|
| committer | GitHub | 2016-09-08 09:55:53 +0100 |
| commit | 3dff6f61d80d38fafdbc80e8d390dce155a10de4 (patch) | |
| tree | 350f76fbab9ff638faee7dd3a45e038101556cf8 /Library/Homebrew/test | |
| parent | f3aaa8780ae578ff22a11d0aece6d1cddf382314 (diff) | |
| parent | ebdb879fe4b0d14bcc92480a3dd193c93f94a23f (diff) | |
| download | brew-3dff6f61d80d38fafdbc80e8d390dce155a10de4.tar.bz2 | |
Merge pull request #890 from MikeMcQuaid/dev-cmd-help
dev-cmd: add `--help` to all developer commands.
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 |
