def test_match(script, output): assert match(Command(script, output))
def test_match(script, stderr): assert match(Command(script, stderr=stderr))
def test_match(command): assert match(command, None)
def test_match(command): assert match(command)