0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-22 15:23:14 -05:00

chore(lint): make testifylint happy

This commit is contained in:
Earl Warren 2024-08-04 12:30:05 +02:00
parent 072dd9f8bc
commit 4ad168c2fe
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00

View file

@ -1221,7 +1221,7 @@ func TestCallout(t *testing.T) {
buffer, err := markdown.RenderString(&markup.RenderContext{
Ctx: git.DefaultContext,
}, input)
assert.NoError(t, err)
require.NoError(t, err)
assert.Equal(t, strings.TrimSpace(expected), strings.TrimSpace(string(buffer)))
}