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:
35
spec/tests/promql/test_complex_exp_single_quotes.txt
Normal file
35
spec/tests/promql/test_complex_exp_single_quotes.txt
Normal file
@ -0,0 +1,35 @@
|
||||
---input---
|
||||
(sum(rate(metric_test_app{app='turtle',proc='web'}[2m])) by(node))
|
||||
|
||||
---tokens---
|
||||
'(' Operator
|
||||
'sum' Keyword
|
||||
'(' Operator
|
||||
'rate' Keyword.Reserved
|
||||
'(' Operator
|
||||
'metric_test_app' Name.Variable
|
||||
'{' Punctuation
|
||||
'app' Name.Label
|
||||
'=' Operator
|
||||
"'" Punctuation
|
||||
'turtle' Literal.String
|
||||
"'" Punctuation
|
||||
',' Punctuation
|
||||
'proc' Name.Label
|
||||
'=' Operator
|
||||
"'" Punctuation
|
||||
'web' Literal.String
|
||||
"'" Punctuation
|
||||
'}' Punctuation
|
||||
'[' Punctuation
|
||||
'2m' Literal.String
|
||||
']' Punctuation
|
||||
')' Operator
|
||||
')' Operator
|
||||
' ' Text.Whitespace
|
||||
'by' Keyword
|
||||
'(' Operator
|
||||
'node' Name.Variable
|
||||
')' Operator
|
||||
')' Operator
|
||||
'\n' Text.Whitespace
|
Reference in New Issue
Block a user