Skip to content

Commit 2359368

Browse files
committed
fix bug
1 parent e38b86a commit 2359368

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

models/action_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ func TestPushCommits_ToAPIPayloadCommits(t *testing.T) {
105105
pushCommits.Len = len(pushCommits.Commits)
106106

107107
payloadCommits, err := pushCommits.ToAPIPayloadCommits(RepoPath("username", "reponame"), "/username/reponame")
108+
assert.NoError(t, err)
108109
if assert.Len(t, payloadCommits, 2) {
109110
assert.Equal(t, "abcdef1", payloadCommits[0].ID)
110111
assert.Equal(t, "message1", payloadCommits[0].Message)

0 commit comments

Comments
 (0)