summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEarl Warren <earl-warren@noreply.codeberg.org>2024-08-04 15:04:53 +0200
committerEarl Warren <earl-warren@noreply.codeberg.org>2024-08-04 15:04:53 +0200
commitae2312b76714e14152c270bf85aaa2ebbf9b2f01 (patch)
treeaceb53fc23476d7900ab8591bc2531d6b0cb0b9f
parentenable linter testifylint on v7 (#4572) (diff)
parentchore(lint): make testifylint happy (diff)
downloadforgejo-ae2312b76714e14152c270bf85aaa2ebbf9b2f01.tar.xz
forgejo-ae2312b76714e14152c270bf85aaa2ebbf9b2f01.zip
Merge pull request '[gitea] week 2024-32-v7.0 cherry pick (release/v1.22 -> v7.0/forgejo)' (#4804) from earl-warren/wcp/2024-32-v7.0 into v7.0/forgejo
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/4804 Reviewed-by: thefox <thefox@noreply.codeberg.org>
-rw-r--r--modules/markup/markdown/markdown_test.go2
1 files changed, 1 insertions, 1 deletions
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)))
}