mirror of
https://github.com/ralsina/tartrazine.git
synced 2025-06-19 22:53:05 -03:00
Reorganize tests into a real spec suite
This commit is contained in:
17
spec/tests/rust/test_struct.txt
Normal file
17
spec/tests/rust/test_struct.txt
Normal file
@ -0,0 +1,17 @@
|
||||
---input---
|
||||
struct X { x: u32 }
|
||||
|
||||
---tokens---
|
||||
'struct' Keyword
|
||||
' ' Text.Whitespace
|
||||
'X' Name.Class
|
||||
' ' Text.Whitespace
|
||||
'{' Punctuation
|
||||
' ' Text.Whitespace
|
||||
'x' Name
|
||||
':' Punctuation
|
||||
' ' Text.Whitespace
|
||||
'u32' Keyword.Type
|
||||
' ' Text.Whitespace
|
||||
'}' Punctuation
|
||||
'\n' Text.Whitespace
|
Reference in New Issue
Block a user