tests: Add tests for attrtuple, and for more corner cases.
This commit is contained in:
@@ -26,6 +26,9 @@ test_syntax("`")
|
||||
# bad indentation (lexer error)
|
||||
test_syntax(" a\n")
|
||||
|
||||
# malformed integer literal (parser error)
|
||||
test_syntax("123z")
|
||||
|
||||
# can't assign to literals
|
||||
test_syntax("1 = 2")
|
||||
test_syntax("'' = 1")
|
||||
|
||||
Reference in New Issue
Block a user