From ffc2f0dc2838a1ff3bc92f437270a97b58526cda Mon Sep 17 00:00:00 2001 From: discord9 Date: Tue, 10 Nov 2026 19:29:09 +0800 Subject: [PATCH] test(promql): call the plan text helper directly The rewritten assertion mapped through a closure that only forwarded its argument, which clippy rejects. Signed-off-by: discord9 --- tests-integration/src/tests/native_aggregate_test.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests-integration/src/tests/native_aggregate_test.rs b/tests-integration/src/tests/native_aggregate_test.rs index 4301ac3cd12..fcf032a2cc3 100644 --- a/tests-integration/src/tests/native_aggregate_test.rs +++ b/tests-integration/src/tests/native_aggregate_test.rs @@ -2144,7 +2144,7 @@ async fn native_aggregate_topk_over_global_partitions() { capture .fused .iter() - .map(|node| plan_text(node)) + .map(plan_text) .collect::>() .join("\n=====\n") );