test: add git helper and guard annotations

This commit is contained in:
Jordan Hubbard
2025-12-28 21:44:35 -04:00
committed by Steve Yegge
parent f3dcafca66
commit 713c569e6e
10 changed files with 492 additions and 507 deletions

View File

@@ -174,7 +174,7 @@ func TestGetEventDisplay(t *testing.T) {
name: "comment event",
event: rpc.MutationEvent{Type: rpc.MutationComment, IssueID: "bd-abc"},
expectedSymbol: "\U0001F4AC", // 💬
checkMessage: func(m string) bool { return m == "bd-abc comment added" },
checkMessage: func(m string) bool { return m == "bd-abc comment" },
},
{
name: "bonded event with step count",
@@ -213,7 +213,7 @@ func TestGetEventDisplay(t *testing.T) {
NewStatus: "in_progress",
},
expectedSymbol: "\u2192", // →
checkMessage: func(m string) bool { return m == "bd-wip in_progress" },
checkMessage: func(m string) bool { return m == "bd-wip started" },
},
{
name: "status event - closed",