Skip to content

Commit 77f50b6

Browse files
committed
fix-tests
Signed-off-by: Andrew Thornton <art27@cantab.net>
1 parent 2e8cb1e commit 77f50b6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/repository/commits_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,13 +123,13 @@ func TestPushCommits_AvatarLink(t *testing.T) {
123123
}
124124

125125
assert.Equal(t,
126-
"https://secure.gravatar.com/avatar/ab53a2911ddf9b4817ac01ddcd3d975f?d=identicon&s=112",
126+
"https://secure.gravatar.com/avatar/ab53a2911ddf9b4817ac01ddcd3d975f?d=identicon&s=28",
127127
pushCommits.AvatarLink("user2@example.com"))
128128

129129
assert.Equal(t,
130130
"https://secure.gravatar.com/avatar/"+
131131
fmt.Sprintf("%x", md5.Sum([]byte("nonexistent@example.com")))+
132-
"?d=identicon&s=112",
132+
"?d=identicon&s=28",
133133
pushCommits.AvatarLink("nonexistent@example.com"))
134134
}
135135

0 commit comments

Comments
 (0)