Skip to content

armgit / rea

Public Imported from GitHub
0

Reverse engineer anything with agents, from app behavior down to native binaries.

test(release): keep credits attached to their contribution

morlutoa99857df2354
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"],