test(db): pin the next-path stop past a ) in a test of its own (#478)
All checks were successful
PR Check — Frontend / frontend (pull_request) Successful in 2m12s
All checks were successful
PR Check — Frontend / frontend (pull_request) Successful in 2m12s
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 <noreply@anthropic.com>
This commit is contained in:
parent
e9d471a292
commit
6d35362386
1 changed files with 3 additions and 1 deletions
|
|
@ -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"
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue