Пример #1
0
def test_label_fail(input):
    p = Dhall(input)
    result = p.Label()
    assert result is p.NoMatch
Пример #2
0
def test_label(input, expected):
    p = Dhall(input)
    result = p.Label()
    assert p.p_flatten(result) == expected