mirror of
https://github.com/micropython/micropython.git
synced 2026-01-07 20:50:14 +01:00
tests/basics/lexer: Add a test for newline-escaping within a string.
This commit is contained in:
@@ -19,6 +19,10 @@ print(eval("1\r"))
|
||||
print(eval("12\r"))
|
||||
print(eval("123\r"))
|
||||
|
||||
# backslash used to escape a line-break in a string
|
||||
print('a\
|
||||
b')
|
||||
|
||||
# lots of indentation
|
||||
def a(x):
|
||||
if x:
|
||||
|
||||
Reference in New Issue
Block a user