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).
|
cmd("help", "cat")) # Internal command (documented, Ruby).
|
||||||
assert_match(/^brew update /,
|
assert_match(/^brew update /,
|
||||||
cmd("help", "update")) # Internal command (documented, Shell).
|
cmd("help", "update")) # Internal command (documented, Shell).
|
||||||
assert_match "Example usage:\n",
|
if ARGV.homebrew_developer?
|
||||||
cmd("help", "test-bot") # Internal command (undocumented).
|
assert_match "Example usage:\n",
|
||||||
|
cmd("help", "test-bot") # Internal developer command (undocumented).
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_config
|
def test_config
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user