mirror of
https://github.com/ralsina/tartrazine.git
synced 2025-06-19 22:53:05 -03:00
Reorganize tests into a real spec suite
This commit is contained in:
19
spec/tests/promql/test_function_sum_with_args.txt
Normal file
19
spec/tests/promql/test_function_sum_with_args.txt
Normal file
@ -0,0 +1,19 @@
|
||||
---input---
|
||||
sum by (app, proc) (instance_memory_usage_bytes)
|
||||
|
||||
---tokens---
|
||||
'sum' Keyword
|
||||
' ' Text.Whitespace
|
||||
'by' Keyword
|
||||
' ' Text.Whitespace
|
||||
'(' Operator
|
||||
'app' Name.Variable
|
||||
',' Punctuation
|
||||
' ' Text.Whitespace
|
||||
'proc' Name.Variable
|
||||
')' Operator
|
||||
' ' Text.Whitespace
|
||||
'(' Operator
|
||||
'instance_memory_usage_bytes' Name.Variable
|
||||
')' Operator
|
||||
'\n' Text.Whitespace
|
Reference in New Issue
Block a user