From c07989ac293c13f6158c3ccded786c77e1deb247 Mon Sep 17 00:00:00 2001 From: QianZhu Date: Thu, 21 Mar 2024 07:21:39 -0700 Subject: [PATCH] fix nodejs test (#1141) changed the error msg for query with wrong vector dim thus need this change to pass the nodejs tests. --- nodejs/__test__/table.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nodejs/__test__/table.test.ts b/nodejs/__test__/table.test.ts index 3a673675..e2c10cbe 100644 --- a/nodejs/__test__/table.test.ts +++ b/nodejs/__test__/table.test.ts @@ -240,7 +240,7 @@ describe("When creating an index", () => { ) .column("vec") .toArrow(), - ).rejects.toThrow(/.*does not match the dimension.*/); + ).rejects.toThrow(/.* query dim=64, expected vector dim=32.*/); const query64 = Array(64) .fill(1)