minor improvement to test_brew_unknown_command
This commit is contained in:
parent
ceeaeab94b
commit
16d68be949
|
|
@ -14,8 +14,9 @@ def brew_unknown_cmd2():
|
|||
return '''Error: Unknown command: instaa'''
|
||||
|
||||
|
||||
def test_match(brew_unknown_cmd):
|
||||
def test_match(brew_unknown_cmd, brew_unknown_cmd2):
|
||||
assert match(Command('brew inst', brew_unknown_cmd))
|
||||
assert match(Command('brew instaa', brew_unknown_cmd2))
|
||||
for command in _brew_commands():
|
||||
assert not match(Command('brew ' + command, ''))
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue