mirror of
https://github.com/prometheus/prometheus.git
synced 2025-12-09 11:31:43 +01:00
[TESTS] Check expr with function call in TestExprString
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
This commit is contained in:
parent
8b3f59e9c3
commit
66fbea97bb
@ -217,6 +217,9 @@ func TestExprString(t *testing.T) {
|
|||||||
{
|
{
|
||||||
in: "foo[200 - min(step() + 10s, -max(step() ^ 2, 3))]",
|
in: "foo[200 - min(step() + 10s, -max(step() ^ 2, 3))]",
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
in: `predict_linear(foo[1h], 3000)`,
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, test := range inputs {
|
for _, test := range inputs {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user