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:
73
spec/tests/mcfunction/selectors.txt
Normal file
73
spec/tests/mcfunction/selectors.txt
Normal file
@ -0,0 +1,73 @@
|
||||
---input---
|
||||
execute
|
||||
as @a[
|
||||
advancements={
|
||||
minecraft:story/form_obsidian={
|
||||
foo=true,
|
||||
bar=false
|
||||
},
|
||||
minecraft:story/follow_ender_eye={
|
||||
foo=false, bar=true
|
||||
}
|
||||
}
|
||||
] run
|
||||
say this command is nuts
|
||||
|
||||
---tokens---
|
||||
'execute' Name.Builtin
|
||||
'\n ' Text.Whitespace
|
||||
'as' Keyword.Constant
|
||||
' ' Text.Whitespace
|
||||
'@a' Name.Variable
|
||||
'[' Punctuation
|
||||
'\n ' Text.Whitespace
|
||||
'advancements' Name.Attribute
|
||||
'=' Punctuation
|
||||
'{' Punctuation
|
||||
'\n ' Text.Whitespace
|
||||
'minecraft:story/form_obsidian' Name.Attribute
|
||||
'=' Punctuation
|
||||
'{' Punctuation
|
||||
'\n ' Text.Whitespace
|
||||
'foo' Name.Attribute
|
||||
'=' Punctuation
|
||||
'true' Name.Tag
|
||||
',' Punctuation
|
||||
'\n ' Text.Whitespace
|
||||
'bar' Name.Attribute
|
||||
'=' Punctuation
|
||||
'false' Name.Tag
|
||||
'\n ' Text.Whitespace
|
||||
'}' Punctuation
|
||||
',' Punctuation
|
||||
'\n ' Text.Whitespace
|
||||
'minecraft:story/follow_ender_eye' Name.Attribute
|
||||
'=' Punctuation
|
||||
'{' Punctuation
|
||||
'\n ' Text.Whitespace
|
||||
'foo' Name.Attribute
|
||||
'=' Punctuation
|
||||
'false' Name.Tag
|
||||
',' Punctuation
|
||||
' ' Text.Whitespace
|
||||
'bar' Name.Attribute
|
||||
'=' Punctuation
|
||||
'true' Name.Tag
|
||||
'\n ' Text.Whitespace
|
||||
'}' Punctuation
|
||||
'\n ' Text.Whitespace
|
||||
'}' Punctuation
|
||||
'\n ' Text.Whitespace
|
||||
']' Punctuation
|
||||
' ' Text.Whitespace
|
||||
'run' Keyword.Constant
|
||||
'\n say' Name.Builtin
|
||||
' ' Text.Whitespace
|
||||
'this' Keyword.Constant
|
||||
' ' Text.Whitespace
|
||||
'command' Keyword.Constant
|
||||
' ' Text.Whitespace
|
||||
'is' Keyword.Constant
|
||||
' ' Text.Whitespace
|
||||
'nuts' Keyword.Constant
|
||||
'\n' Text.Whitespace
|
Reference in New Issue
Block a user