Skip to content

Commit 5a67149

Browse files
committed
Check return of CreateComment
1 parent 7ecaf23 commit 5a67149

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

server/events/vcs/github_client_test.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -838,7 +838,8 @@ func TestGithubClient_SplitComments(t *testing.T) {
838838
}
839839
// create an extra long string
840840
comment := strings.Repeat("a", 65537)
841-
client.CreateComment(repo, pull.Num, comment, models.PlanCommand.String())
841+
err = client.CreateComment(repo, pull.Num, comment, models.PlanCommand.String())
842+
Ok(t, err)
842843

843844
// copied from github_client.HidePrevPlanComments to ensure proper string matching
844845
body := strings.Split(githubComments[1].Body, "\n")

0 commit comments

Comments
 (0)