tests/basics/lexer: Add lexer tests for input starting with newlines.

This commit is contained in:
Tom Collins 2017-05-08 17:24:29 -07:00 committed by Damien George
parent 2998647c4e
commit d00d062af2

View File

@ -9,6 +9,14 @@ exec("\n")
exec("\n\n")
exec("\r")
exec("\r\r")
exec("\t")
exec("\r\n")
exec("\nprint(1)")
exec("\rprint(2)")
exec("\r\nprint(3)")
exec("\n5")
exec("\r6")
exec("\r\n7")
print(eval("1"))
print(eval("12"))
print(eval("123"))