1
1
mirror of https://github.com/go-gitea/gitea synced 2024-11-10 12:14:25 +00:00

modules/markup/markdown: fix dropped test error (#16438)

This commit is contained in:
Lars Lehtonen 2021-07-18 05:09:34 -07:00 committed by GitHub
parent 29d4917660
commit 2344007fa3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -42,6 +42,7 @@ func TestRender_StandardLinks(t *testing.T) {
URLPrefix: setting.AppSubURL, URLPrefix: setting.AppSubURL,
IsWiki: true, IsWiki: true,
}, input) }, input)
assert.NoError(t, err)
assert.Equal(t, strings.TrimSpace(expectedWiki), strings.TrimSpace(buffer)) assert.Equal(t, strings.TrimSpace(expectedWiki), strings.TrimSpace(buffer))
} }