tests/test_invalid.py: add some more invalids
parent
556c29fd4b
commit
91db9145be
|
@ -31,3 +31,13 @@ def test_lone_lbrace():
|
|||
def test_lone_braces():
|
||||
with pytest.raises(ParseException):
|
||||
loads_xbc('{}')
|
||||
|
||||
def test_lone_semi():
|
||||
with pytest.raises(ParseException):
|
||||
loads_xbc(';')
|
||||
|
||||
def test_empty():
|
||||
with pytest.raises(ParseException):
|
||||
loads_xbc('\n')
|
||||
with pytest.raises(ParseException):
|
||||
loads_xbc('')
|
||||
|
|
Loading…
Reference in New Issue