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:
20
spec/tests/apacheconf/test_multiline_argument.txt
Normal file
20
spec/tests/apacheconf/test_multiline_argument.txt
Normal file
@ -0,0 +1,20 @@
|
||||
---input---
|
||||
SecAction \
|
||||
"id:'900001', \
|
||||
phase:1, \
|
||||
t:none, \
|
||||
setvar:tx.critical_anomaly_score=5, \
|
||||
setvar:tx.error_anomaly_score=4, \
|
||||
setvar:tx.warning_anomaly_score=3, \
|
||||
setvar:tx.notice_anomaly_score=2, \
|
||||
nolog, \
|
||||
pass"
|
||||
|
||||
---tokens---
|
||||
'SecAction' Name.Builtin
|
||||
' ' Text.Whitespace
|
||||
'\\\n' Text
|
||||
|
||||
' ' Text.Whitespace
|
||||
'"id:\'900001\', \\\n phase:1, \\\n t:none, \\\n setvar:tx.critical_anomaly_score=5, \\\n setvar:tx.error_anomaly_score=4, \\\n setvar:tx.warning_anomaly_score=3, \\\n setvar:tx.notice_anomaly_score=2, \\\n nolog, \\\n pass"' Literal.String.Double
|
||||
'\n' Text.Whitespace
|
Reference in New Issue
Block a user