test(promql): use fixed scalar batch fixture

Signed-off-by: discord9 <55937128+discord9@users.noreply.github.com>
This commit is contained in:
discord9
2026-10-26 00:38:30 +08:00
parent 3c409f91de
commit 05ef1a4326
@@ -1953,7 +1953,7 @@ async fn physical_plan_accepts_scalar_root_without_sources() {
assert!(stream.next().await.is_none());
assert!(stream.next().await.is_none());
drop(stream);
let batches = vec![first];
let batches = [first];
assert_eq!(1, batches.len());
assert_eq!(schema.as_ref(), batches[0].schema().as_ref());
assert_eq!(GRID_LEN as usize, batches[0].num_rows());