test_integration_cmds: fix when not a developer.
This commit is contained in:
parent
7dad182ed1
commit
f12932cf31
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user