diff options
| author | Mike McQuaid | 2016-05-30 21:44:35 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2016-05-30 21:44:59 +0100 |
| commit | f12932cf3176ffea5f4004984a390e8dc929ebbf (patch) | |
| tree | d9e8b550a77fe94a6e05d4550fa93fd39b136e9e /Library | |
| parent | 7dad182ed1f457258d9fd6f7a10e880669d8a268 (diff) | |
| download | brew-f12932cf3176ffea5f4004984a390e8dc929ebbf.tar.bz2 | |
test_integration_cmds: fix when not a developer.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/test/test_integration_cmds.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Library/Homebrew/test/test_integration_cmds.rb b/Library/Homebrew/test/test_integration_cmds.rb index 601e511c2..df71258d6 100644 --- a/Library/Homebrew/test/test_integration_cmds.rb +++ b/Library/Homebrew/test/test_integration_cmds.rb @@ -152,8 +152,10 @@ class IntegrationCommandTests < Homebrew::TestCase cmd("help", "cat")) # Internal command (documented, Ruby). assert_match(/^brew update /, cmd("help", "update")) # Internal command (documented, Shell). - assert_match "Example usage:\n", - cmd("help", "test-bot") # Internal command (undocumented). + if ARGV.homebrew_developer? + assert_match "Example usage:\n", + cmd("help", "test-bot") # Internal developer command (undocumented). + end end def test_config |
