tests: Add tests for attrtuple, and for more corner cases.

This commit is contained in:
Damien George
2015-04-22 16:52:03 +01:00
parent 956d765786
commit 1f9e2188a6
5 changed files with 28 additions and 0 deletions

View File

@@ -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")