fix: remove unused test helpers and fix gofmt

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
Kynan Ware 2026-03-11 12:59:14 -06:00
parent 1c274a8a56
commit f7ff8f2079
2 changed files with 1 additions and 18 deletions

View file

@ -397,15 +397,6 @@ func singleStatusContextWithState(state string) string {
`, state)
}
func completedCheckRunNode(conclusion string) string {
return fmt.Sprintf(`
{
"__typename": "CheckRun",
"status": "COMPLETED",
"conclusion": "%s"
}`, conclusion)
}
func completedCheckRunNodeWithName(name, conclusion string) string {
return fmt.Sprintf(`
{
@ -416,14 +407,6 @@ func completedCheckRunNodeWithName(name, conclusion string) string {
}`, name, conclusion)
}
func statusContextNode(state string) string {
return fmt.Sprintf(`
{
"__typename": "StatusContext",
"state": "%s"
}`, state)
}
func statusContextNodeWithName(context, state string) string {
return fmt.Sprintf(`
{

View file

@ -412,7 +412,7 @@ func (pr *PullRequest) ChecksStatus() PullRequestChecksStatus {
type checkStatus int
const (
passing checkStatus = iota
passing checkStatus = iota
failing
pending
cancelled