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:
26
spec/tests/bash/test_short_variable_names.txt
Normal file
26
spec/tests/bash/test_short_variable_names.txt
Normal file
@ -0,0 +1,26 @@
|
||||
---input---
|
||||
x="$"
|
||||
y="$_"
|
||||
z="$abc"
|
||||
|
||||
---tokens---
|
||||
'x' Name.Variable
|
||||
'=' Operator
|
||||
'"' Literal.String.Double
|
||||
'$' Text
|
||||
'"' Literal.String.Double
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'y' Name.Variable
|
||||
'=' Operator
|
||||
'"' Literal.String.Double
|
||||
'$_' Name.Variable
|
||||
'"' Literal.String.Double
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'z' Name.Variable
|
||||
'=' Operator
|
||||
'"' Literal.String.Double
|
||||
'$abc' Name.Variable
|
||||
'"' Literal.String.Double
|
||||
'\n' Text.Whitespace
|
Reference in New Issue
Block a user