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:
23
spec/tests/react/test_object_attribute.txt
Normal file
23
spec/tests/react/test_object_attribute.txt
Normal file
@ -0,0 +1,23 @@
|
||||
---input---
|
||||
<div style={{ color: 'red' }} />
|
||||
|
||||
---tokens---
|
||||
'<' Punctuation
|
||||
'div' Name.Tag
|
||||
' ' Text.Whitespace
|
||||
'style' Name.Attribute
|
||||
'=' Operator
|
||||
'{' Punctuation
|
||||
'{' Punctuation
|
||||
' ' Text.Whitespace
|
||||
'color' Name.Other
|
||||
':' Operator
|
||||
' ' Text.Whitespace
|
||||
"'red'" Literal.String.Single
|
||||
' ' Text.Whitespace
|
||||
'}' Punctuation
|
||||
'}' Punctuation
|
||||
' ' Text.Whitespace
|
||||
'/' Punctuation
|
||||
'>' Punctuation
|
||||
'\n' Text.Whitespace
|
Reference in New Issue
Block a user