mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-01-13 15:59:33 -05:00
chore(lint): make testifylint happy
This commit is contained in:
parent
072dd9f8bc
commit
4ad168c2fe
1 changed files with 1 additions and 1 deletions
|
@ -1221,7 +1221,7 @@ func TestCallout(t *testing.T) {
|
||||||
buffer, err := markdown.RenderString(&markup.RenderContext{
|
buffer, err := markdown.RenderString(&markup.RenderContext{
|
||||||
Ctx: git.DefaultContext,
|
Ctx: git.DefaultContext,
|
||||||
}, input)
|
}, input)
|
||||||
assert.NoError(t, err)
|
require.NoError(t, err)
|
||||||
assert.Equal(t, strings.TrimSpace(expected), strings.TrimSpace(string(buffer)))
|
assert.Equal(t, strings.TrimSpace(expected), strings.TrimSpace(string(buffer)))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue