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:
19
spec/tests/promql/test_function_delta.txt
Normal file
19
spec/tests/promql/test_function_delta.txt
Normal file
@ -0,0 +1,19 @@
|
||||
---input---
|
||||
delta(cpu_temp_celsius{host="zeus"}[2h])
|
||||
|
||||
---tokens---
|
||||
'delta' Keyword.Reserved
|
||||
'(' Operator
|
||||
'cpu_temp_celsius' Name.Variable
|
||||
'{' Punctuation
|
||||
'host' Name.Label
|
||||
'=' Operator
|
||||
'"' Punctuation
|
||||
'zeus' Literal.String
|
||||
'"' Punctuation
|
||||
'}' Punctuation
|
||||
'[' Punctuation
|
||||
'2h' Literal.String
|
||||
']' Punctuation
|
||||
')' Operator
|
||||
'\n' Text.Whitespace
|
Reference in New Issue
Block a user