test(release): keep credits attached to their contribution
This commit is contained in:
parent
6b043dc3de
commit
a99857df23
|
|
@ -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"],
|
||||
|
|
|
|||
Loading…
Reference in New Issue