aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2016-05-30 21:44:35 +0100
committerMike McQuaid2016-05-30 21:44:59 +0100
commitf12932cf3176ffea5f4004984a390e8dc929ebbf (patch)
treed9e8b550a77fe94a6e05d4550fa93fd39b136e9e /Library
parent7dad182ed1f457258d9fd6f7a10e880669d8a268 (diff)
downloadbrew-f12932cf3176ffea5f4004984a390e8dc929ebbf.tar.bz2
test_integration_cmds: fix when not a developer.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/test/test_integration_cmds.rb6
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