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:
28
spec/tests/php/test_backslashes_in_strings.txt
Normal file
28
spec/tests/php/test_backslashes_in_strings.txt
Normal file
@ -0,0 +1,28 @@
|
||||
---input---
|
||||
<?php
|
||||
$pipe = popen( "flamegraph.pl --title=\"$title\" > /var/www/html/w/docs/flamegraph.svg", 'w' );
|
||||
|
||||
---tokens---
|
||||
'<?php' Comment.Preproc
|
||||
'\n' Text
|
||||
|
||||
'$pipe' Name.Variable
|
||||
' ' Text
|
||||
'=' Operator
|
||||
' ' Text
|
||||
'popen' Name.Builtin
|
||||
'(' Punctuation
|
||||
' ' Text
|
||||
'"' Literal.String.Double
|
||||
'flamegraph.pl --title=' Literal.String.Double
|
||||
'\\"' Literal.String.Escape
|
||||
'$title' Literal.String.Interpol
|
||||
'\\"' Literal.String.Escape
|
||||
' > /var/www/html/w/docs/flamegraph.svg' Literal.String.Double
|
||||
'"' Literal.String.Double
|
||||
',' Punctuation
|
||||
' ' Text
|
||||
"'w'" Literal.String.Single
|
||||
' ' Text
|
||||
');' Punctuation
|
||||
'\n' Text
|
Reference in New Issue
Block a user