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/unsupported_lexers/http/test_application_xml.txt
Normal file
28
spec/unsupported_lexers/http/test_application_xml.txt
Normal file
@ -0,0 +1,28 @@
|
||||
---input---
|
||||
GET / HTTP/1.0
|
||||
Content-Type: application/xml
|
||||
|
||||
<foo>
|
||||
|
||||
---tokens---
|
||||
'GET' Name.Function
|
||||
' ' Text
|
||||
'/' Name.Namespace
|
||||
' ' Text
|
||||
'HTTP' Keyword.Reserved
|
||||
'/' Operator
|
||||
'1.0' Literal.Number
|
||||
'\n' Text
|
||||
|
||||
'Content-Type' Name.Attribute
|
||||
'' Text
|
||||
':' Operator
|
||||
' ' Text
|
||||
'application/xml' Literal
|
||||
'\n' Text
|
||||
|
||||
'\n' Text
|
||||
|
||||
'<foo' Name.Tag
|
||||
'>' Name.Tag
|
||||
'\n' Text.Whitespace
|
Reference in New Issue
Block a user