diff --git a/modules/markup/markdown/markdown_test.go b/modules/markup/markdown/markdown_test.go index cb35b15209..c99cd0dc03 100644 --- a/modules/markup/markdown/markdown_test.go +++ b/modules/markup/markdown/markdown_test.go @@ -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))) }