From 6d353623866cb1aec3bccbb73a4e69ebdf2892df Mon Sep 17 00:00:00 2001 From: le king fu Date: Fri, 23 Oct 2026 20:38:37 -0400 Subject: [PATCH] test(db): pin the next-path stop past a ) in a test of its own (#478) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The pin sat after three assertions of « ends a path at sentence punctuation and at the next path »: a mutation of the next-path stop failed the third one first, so the pin itself was never shown red. Resolves #478 Co-Authored-By: Claude Opus 5.5 --- src/services/db.test.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/services/db.test.ts b/src/services/db.test.ts index 4a66a17..8bc5f83 100644 --- a/src/services/db.test.ts +++ b/src/services/db.test.ts @@ -765,7 +765,9 @@ describe("describePreparation (#390)", () => { "read a.db, then b.db" ); expect(withoutFolders("'C:\\a\\b.db' and 'C:\\Users\\Jean Dupont\\d.db'")).toBe("'b.db' and 'd.db'"); - // Past a `)`, the next path still ends the previous one (#478). + }); + + it("withoutFolders still ends a path at the next path past a `)` (#478)", () => { expect(withoutFolders("(see /home/marie claire/a.db) and C:\\Users\\Jean Dupont\\b.db")).toBe( "(see a.db) and b.db" );