[TESTS] Check expr with function call in TestExprString

Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
This commit is contained in:
Bryan Boreham 2025-05-14 19:32:53 +02:00
parent 8b3f59e9c3
commit 66fbea97bb
1 changed files with 3 additions and 0 deletions

View File

@ -217,6 +217,9 @@ func TestExprString(t *testing.T) {
{
in: "foo[200 - min(step() + 10s, -max(step() ^ 2, 3))]",
},
{
in: `predict_linear(foo[1h], 3000)`,
},
}
for _, test := range inputs {