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:
45
spec/unsupported_lexers/unixconfig/etc_group.txt
Normal file
45
spec/unsupported_lexers/unixconfig/etc_group.txt
Normal file
@ -0,0 +1,45 @@
|
||||
---input---
|
||||
root:x:0:
|
||||
sudo:x:1:syslog,user
|
||||
syslog:x:2:
|
||||
#adm:x:3:
|
||||
|
||||
user:x:1000
|
||||
|
||||
---tokens---
|
||||
'root' Text
|
||||
':' Punctuation
|
||||
'x' Literal.String
|
||||
':' Punctuation
|
||||
'0' Literal.Number
|
||||
':' Punctuation
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'sudo' Text
|
||||
':' Punctuation
|
||||
'x' Literal.String
|
||||
':' Punctuation
|
||||
'1' Literal.Number
|
||||
':' Punctuation
|
||||
'syslog,user' Text
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'syslog' Text
|
||||
':' Punctuation
|
||||
'x' Literal.String
|
||||
':' Punctuation
|
||||
'2' Literal.Number
|
||||
':' Punctuation
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'#adm:x:3:' Comment
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'user' Text
|
||||
':' Punctuation
|
||||
'x' Literal.String
|
||||
':' Punctuation
|
||||
'1000' Literal.Number
|
||||
'\n' Text.Whitespace
|
Reference in New Issue
Block a user