Skip to content

Commit

Permalink
Check return of CreateComment
Browse files Browse the repository at this point in the history
  • Loading branch information
crainte committed Jul 10, 2020
1 parent 7ecaf23 commit 5a67149
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion server/events/vcs/github_client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 5a67149

Please sign in to comment.