Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
d00d062a
Commit
d00d062a
authored
May 08, 2017
by
Tom Collins
Committed by
Damien George
May 09, 2017
Browse files
tests/basics/lexer: Add lexer tests for input starting with newlines.
parent
2998647c
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/basics/lexer.py
View file @
d00d062a
...
...
@@ -9,6 +9,14 @@ exec("\n")
exec
(
"
\n\n
"
)
exec
(
"
\r
"
)
exec
(
"
\r\r
"
)
exec
(
"
\t
"
)
exec
(
"
\r\n
"
)
exec
(
"
\n
print(1)"
)
exec
(
"
\r
print(2)"
)
exec
(
"
\r\n
print(3)"
)
exec
(
"
\n
5"
)
exec
(
"
\r
6"
)
exec
(
"
\r\n
7"
)
print
(
eval
(
"1"
))
print
(
eval
(
"12"
))
print
(
eval
(
"123"
))
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment