mirror of
https://github.com/ralsina/tartrazine.git
synced 2025-06-28 11:00:59 -03:00
Imported test cases from pygments
This commit is contained in:
25
tests/jsx/test_arrow_function_attribute.txt
Normal file
25
tests/jsx/test_arrow_function_attribute.txt
Normal file
@ -0,0 +1,25 @@
|
||||
---input---
|
||||
<button onClick={e => e.preventDefault ()} />
|
||||
|
||||
---tokens---
|
||||
'<' Punctuation
|
||||
'button' Name.Tag
|
||||
' ' Text.Whitespace
|
||||
'onClick' Name.Attribute
|
||||
'=' Operator
|
||||
'{' Punctuation
|
||||
'e' Name.Other
|
||||
' ' Text.Whitespace
|
||||
'=>' Punctuation
|
||||
' ' Text.Whitespace
|
||||
'e' Name.Other
|
||||
'.' Punctuation
|
||||
'preventDefault' Name.Other
|
||||
' ' Text.Whitespace
|
||||
'(' Punctuation
|
||||
')' Punctuation
|
||||
'}' Punctuation
|
||||
' ' Text.Whitespace
|
||||
'/' Punctuation
|
||||
'>' Punctuation
|
||||
'\n' Text.Whitespace
|
Reference in New Issue
Block a user