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 <discord9@163.com>
This commit is contained in:
discord9
2026-11-12 19:45:53 +08:00
parent 21b07ecc04
commit ffc2f0dc28
@@ -2144,7 +2144,7 @@ async fn native_aggregate_topk_over_global_partitions() {
capture
.fused
.iter()
.map(|node| plan_text(node))
.map(plan_text)
.collect::<Vec<_>>()
.join("\n=====\n")
);