diff options
Diffstat (limited to 'Library/Homebrew/test/test_integration_cmds.rb')
| -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 |
