コード例 #1
0
def test_not_match(command):
    assert not match(command)
コード例 #2
0
def test_match(script, is_bsd, output):
    command = Command(script, output)
    assert match(command)
コード例 #3
0
ファイル: test_touch.py プロジェクト: biggiemac/shoot
def test_match(output):
    command = Command('touch /a/b/c', output)
    assert match(command)
コード例 #4
0
ファイル: test_touch.py プロジェクト: Clpsplug/thefuck
def test_match(output):
    command = Command('touch /a/b/c', output)
    assert match(command)
コード例 #5
0
def test_match(stderr):
    command = Command('touch /a/b/c', stderr=stderr)
    assert match(command)
コード例 #6
0
ファイル: test_touch.py プロジェクト: AdmiralAwesome/thefuck
def test_match(stderr):
    command = Command(
        'touch /a/b/c', stderr=stderr)
    assert match(command)