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:
36
spec/unsupported_lexers/usd/test_metadata.txt
Normal file
36
spec/unsupported_lexers/usd/test_metadata.txt
Normal file
@ -0,0 +1,36 @@
|
||||
# Make sure metadata [the stuff inside ()s] don't match as Attributes.
|
||||
|
||||
---input---
|
||||
float[] primvars:skel:jointWeights = [1] (
|
||||
elementSize = 1
|
||||
interpolation = "constant"
|
||||
)
|
||||
|
||||
---tokens---
|
||||
'float[]' Keyword.Type
|
||||
' ' Text.Whitespace
|
||||
'primvars:skel:jointWeights' Name.Attribute
|
||||
' ' Text.Whitespace
|
||||
'=' Operator
|
||||
' ' Text.Whitespace
|
||||
'[' Punctuation
|
||||
'1' Literal.Number
|
||||
']' Punctuation
|
||||
' ' Text.Whitespace
|
||||
'(' Punctuation
|
||||
'\n ' Text.Whitespace
|
||||
'elementSize' Name.Builtins
|
||||
' ' Text.Whitespace
|
||||
'=' Operator
|
||||
' ' Text.Whitespace
|
||||
'1' Literal.Number
|
||||
'\n ' Text.Whitespace
|
||||
'interpolation' Name.Builtins
|
||||
' ' Text.Whitespace
|
||||
'=' Operator
|
||||
' ' Text.Whitespace
|
||||
'"constant"' Literal.String
|
||||
'\n' Text.Whitespace
|
||||
|
||||
')' Punctuation
|
||||
'\n' Text.Whitespace
|
Reference in New Issue
Block a user