From 31f9c30ffb28c11936448a417f23217cc3a37d5f Mon Sep 17 00:00:00 2001 From: Will Jones Date: Mon, 13 Jan 2025 15:36:46 -0800 Subject: [PATCH] chore: fix test of error message (#2018) Addresses failure on `main`: https://github.com/lancedb/lancedb/actions/runs/12757756657/job/35558683317 --- nodejs/__test__/table.test.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/nodejs/__test__/table.test.ts b/nodejs/__test__/table.test.ts index 2c8f2a78..09f4cd7a 100644 --- a/nodejs/__test__/table.test.ts +++ b/nodejs/__test__/table.test.ts @@ -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)