chore: fix test of error message (#2018)

Addresses failure on `main`:
https://github.com/lancedb/lancedb/actions/runs/12757756657/job/35558683317
This commit is contained in:
Will Jones
2025-01-13 15:36:46 -08:00
committed by GitHub
parent 92dcf24b0c
commit 31f9c30ffb

View File

@@ -767,7 +767,9 @@ describe("When creating an index", () => {
)
.column("vec")
.toArrow(),
).rejects.toThrow(/.* query dim=64, expected vector dim=32.*/);
).rejects.toThrow(
/.* query dim\(64\) doesn't match the column vec vector dim\(32\).*/,
);
const query64 = Array(64)
.fill(1)