test(completion): expect inline column comment in completion detail

This commit is contained in:
t8y2 committed 2026-09-04 12:58:55 +08:00
1 parent 434d44a284
commit eb790e7bfc
1 file changed
+1 -1
+1 -1
View File
@@ -1357,7 +1357,7 @@ test("shows column comments in WHERE field completions", () => {
});
const column = items.find((item) => item.type === "column" && item.label === "status");
assert.equal(column?.detail, "public.orders [varchar] NOT NULL");
assert.equal(column?.detail, "public.orders [varchar] NOT NULL -- Order lifecycle state");
assert.equal(column?.info, "public.orders.status\nType: varchar\nNullable: no\nComment: Order lifecycle state");
});