From a99857df23544c960137ddbfa78c9d74782d94a7 Mon Sep 17 00:00:00 2001 From: morluto <76467478+morluto@users.noreply.github.com> Date: Sun, 11 Oct 2026 11:51:17 +0800 Subject: [PATCH] test(release): keep credits attached to their contribution --- tests/boundary/filesystem/releaseNotes.test.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/boundary/filesystem/releaseNotes.test.ts b/tests/boundary/filesystem/releaseNotes.test.ts index deae92b55..04ff1da32 100644 --- a/tests/boundary/filesystem/releaseNotes.test.ts +++ b/tests/boundary/filesystem/releaseNotes.test.ts @@ -270,6 +270,10 @@ it("rejects lost grouped credits, fabricated references, bots, and stale PR bodi throw new Error("Fixture is missing its direct contribution"); for (const [replacement, error] of [ [f.bullet.replace(", @bob", ""), "Missing Thanks @bob"], + [ + f.bullet.replace(", @bob", "") + "\n- Thanks @bob for other work.", + "Missing Thanks @bob", + ], [f.bullet + " (#999)", "Unknown release reference #999"], [f.bullet + "a".repeat(65_536), "inline PR body limit"], [f.bullet + "汉".repeat(43_000), "GitHub's body budget"],