diff --git a/server/events/vcs/github_client_test.go b/server/events/vcs/github_client_test.go index 68fcb4b77f..06a18f47f5 100644 --- a/server/events/vcs/github_client_test.go +++ b/server/events/vcs/github_client_test.go @@ -838,7 +838,8 @@ func TestGithubClient_SplitComments(t *testing.T) { } // create an extra long string comment := strings.Repeat("a", 65537) - client.CreateComment(repo, pull.Num, comment, models.PlanCommand.String()) + err = client.CreateComment(repo, pull.Num, comment, models.PlanCommand.String()) + Ok(t, err) // copied from github_client.HidePrevPlanComments to ensure proper string matching body := strings.Split(githubComments[1].Body, "\n")