コード例 #1
0
ファイル: test_stdout_filters.py プロジェクト: mrflip/dexy
def test_escript():
    assert_matches_output("hello.erl|escript", """\nmain(_) -> io:fwrite("Hello, world!\n").\n""", "\s*Hello, world!\s*")
コード例 #2
0
ファイル: test_stdout_filters.py プロジェクト: mrflip/dexy
def test_lynxdump():
    assert_matches_output("input.html|lynxdump", "<p>Hello</p>", "\s*Hello\s*")