mirror of
https://github.com/ralsina/tartrazine.git
synced 2025-06-20 07:03:05 -03:00
Reorganize tests into a real spec suite
This commit is contained in:
98
spec/unsupported_lexers/pycon/broken_tb.txt
Normal file
98
spec/unsupported_lexers/pycon/broken_tb.txt
Normal file
@ -0,0 +1,98 @@
|
||||
---input---
|
||||
>>> exec('"')
|
||||
Traceback (most recent call last):
|
||||
File "<stdin>", line 1, in <module>
|
||||
File "<string>", line 1
|
||||
"
|
||||
^
|
||||
SyntaxError: EOL while scanning string literal
|
||||
|
||||
>>> exec('"')
|
||||
Traceback (most recent call last):
|
||||
File "<stdin>", line 1, in <module>
|
||||
File "<string>", line 1, in <module>
|
||||
"
|
||||
^
|
||||
SyntaxError: EOL while scanning string literal
|
||||
|
||||
---tokens---
|
||||
'>>> ' Generic.Prompt
|
||||
'exec' Name
|
||||
'(' Punctuation
|
||||
"'" Literal.String.Single
|
||||
'"' Literal.String.Single
|
||||
"'" Literal.String.Single
|
||||
')' Punctuation
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'Traceback (most recent call last):\n' Generic.Traceback
|
||||
|
||||
' File ' Text
|
||||
'"<stdin>"' Name.Builtin
|
||||
', line ' Text
|
||||
'1' Literal.Number
|
||||
', in ' Text
|
||||
'<module>' Name
|
||||
'\n' Text.Whitespace
|
||||
|
||||
' File ' Text
|
||||
'"<string>"' Name.Builtin
|
||||
', line ' Text
|
||||
'1' Literal.Number
|
||||
'\n' Text.Whitespace
|
||||
|
||||
' ' Text.Whitespace
|
||||
'"' Literal.String.Double
|
||||
'\n' Text.Whitespace
|
||||
|
||||
' ' Text.Whitespace
|
||||
'^' Punctuation.Marker
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'SyntaxError' Generic.Error
|
||||
': ' Text
|
||||
'EOL while scanning string literal' Name
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'' Text
|
||||
'>>> ' Generic.Prompt
|
||||
'exec' Name
|
||||
'(' Punctuation
|
||||
"'" Literal.String.Single
|
||||
'"' Literal.String.Single
|
||||
"'" Literal.String.Single
|
||||
')' Punctuation
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'Traceback (most recent call last):\n' Generic.Traceback
|
||||
|
||||
' File ' Text
|
||||
'"<stdin>"' Name.Builtin
|
||||
', line ' Text
|
||||
'1' Literal.Number
|
||||
', in ' Text
|
||||
'<module>' Name
|
||||
'\n' Text.Whitespace
|
||||
|
||||
' File ' Text
|
||||
'"<string>"' Name.Builtin
|
||||
', line ' Text
|
||||
'1' Literal.Number
|
||||
', in ' Text
|
||||
'<module>' Name
|
||||
'\n' Text.Whitespace
|
||||
|
||||
' ' Text.Whitespace
|
||||
'"' Literal.String.Double
|
||||
'\n' Text.Whitespace
|
||||
|
||||
' ' Text.Whitespace
|
||||
'^' Punctuation.Marker
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'SyntaxError' Generic.Error
|
||||
': ' Text
|
||||
'EOL while scanning string literal' Name
|
||||
'\n' Text.Whitespace
|
Reference in New Issue
Block a user