mirror of
https://github.com/ralsina/tartrazine.git
synced 2025-06-19 06:33:06 -03:00
Reorganize tests into a real spec suite
This commit is contained in:
32
spec/tests/nasm/checkid.txt
Normal file
32
spec/tests/nasm/checkid.txt
Normal file
@ -0,0 +1,32 @@
|
||||
---input---
|
||||
print_brick_no_color:
|
||||
inc bx
|
||||
mov di, bx ; comment
|
||||
jmp check_col
|
||||
|
||||
---tokens---
|
||||
'print_brick_no_color:' Name.Label
|
||||
'\n' Text.Whitespace
|
||||
|
||||
' ' Text.Whitespace
|
||||
'inc' Name.Function
|
||||
' ' Text.Whitespace
|
||||
'bx' Name.Builtin
|
||||
'\n' Text.Whitespace
|
||||
|
||||
' ' Text.Whitespace
|
||||
'mov' Name.Function
|
||||
' ' Text.Whitespace
|
||||
'di' Name.Builtin
|
||||
',' Punctuation
|
||||
' ' Text.Whitespace
|
||||
'bx' Name.Builtin
|
||||
' ' Text.Whitespace
|
||||
'; comment' Comment.Single
|
||||
'\n' Text.Whitespace
|
||||
|
||||
' ' Text.Whitespace
|
||||
'jmp' Name.Function
|
||||
' ' Text.Whitespace
|
||||
'check_col' Name.Variable
|
||||
'\n' Text.Whitespace
|
Reference in New Issue
Block a user