Reorganize tests into a real spec suite

This commit is contained in:
2024-08-04 19:18:43 -03:00
parent 57c160173c
commit e7c2053222
693 changed files with 136 additions and 116 deletions

View File

@ -0,0 +1,39 @@
---input---
loop {
break;
break 'foo;
break'foo;
break_it;
}
---tokens---
'loop' Keyword
' ' Text.Whitespace
'{' Punctuation
'\n' Text.Whitespace
' ' Text.Whitespace
'break' Keyword
';' Punctuation
'\n' Text.Whitespace
' ' Text.Whitespace
'break' Keyword
' ' Text.Whitespace
"'foo" Name.Label
';' Punctuation
'\n' Text.Whitespace
' ' Text.Whitespace
'break' Keyword
"'foo" Name.Label
';' Punctuation
'\n' Text.Whitespace
' ' Text.Whitespace
'break_it' Name
';' Punctuation
'\n' Text.Whitespace
'}' Punctuation
'\n' Text.Whitespace