From 7f58b4f784887dd1dca1d15327adece8f6842279 Mon Sep 17 00:00:00 2001 From: Lukasz Mierzwa Date: Wed, 7 May 2025 11:29:15 +0100 Subject: [PATCH] Fix position in TestPreprocessAndWrapWithStepInvariantExpr This is failing after 26088d01b9518b3315805186dcee534b986bf79f and it seems that currently tested position is incorrect, fix it Signed-off-by: Lukasz Mierzwa --- promql/engine_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/promql/engine_test.go b/promql/engine_test.go index 0181d01534..7d09938bfc 100644 --- a/promql/engine_test.go +++ b/promql/engine_test.go @@ -2895,7 +2895,7 @@ func TestPreprocessAndWrapWithStepInvariantExpr(t *testing.T) { }, PosRange: posrange.PositionRange{ Start: 29, - End: 52, + End: 51, }, }, },