We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9ce1cc commit 6f6d956Copy full SHA for 6f6d956
tests/integration/pull_review_test.go
@@ -495,7 +495,7 @@ func Test_ReviewCodeComment(t *testing.T) {
495
assert.Equal(t, "code comment on left line 2", commentLast.Content)
496
assert.Equal(t, "README.md", commentLast.TreePath)
497
assert.Equal(t, int64(-2), commentLast.Line)
498
- assert.Equal(t, pr.MergeBase, commentLast.CommitSHA)
+ assert.Equal(t, pr.MergeBase, commentLast.BeforeCommitID)
499
500
// load the files page and confirm the comment's line number is dynamically adjusted
501
filesPageURL = fmt.Sprintf("/user2/test_codecomment/pulls/%d/files", pr.Index)
0 commit comments