aboutsummaryrefslogtreecommitdiffstats
path: root/modules/templates/util_render_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/templates/util_render_test.go')
-rw-r--r--modules/templates/util_render_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/templates/util_render_test.go b/modules/templates/util_render_test.go
index c0241c0a8c..80094ab26e 100644
--- a/modules/templates/util_render_test.go
+++ b/modules/templates/util_render_test.go
@@ -164,11 +164,11 @@ com 88fc37a3c0a4dda553bdcfc80c178a58247f42fb mit
<span class="emoji" aria-label="thumbs up">👍</span>
mail@domain.com
@mention-user test
-#123
+<a href="/user13/repo11/issues/123" class="ref-issue">#123</a>
space<SPACE><SPACE>
`
expected = strings.ReplaceAll(expected, "<SPACE>", " ")
- assert.EqualValues(t, expected, string(newTestRenderUtils().RenderIssueTitle(testInput(), nil)))
+ assert.EqualValues(t, expected, string(newTestRenderUtils().RenderIssueTitle(testInput(), testMetas)))
}
func TestRenderMarkdownToHtml(t *testing.T) {