summaryrefslogtreecommitdiffstats
path: root/modules/markdown/markdown_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/markdown/markdown_test.go')
-rw-r--r--modules/markdown/markdown_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/markdown/markdown_test.go b/modules/markdown/markdown_test.go
index 8364146573..e6bc3683c6 100644
--- a/modules/markdown/markdown_test.go
+++ b/modules/markdown/markdown_test.go
@@ -296,6 +296,7 @@ func TestRender_Commits(t *testing.T) {
test(sha, `<p><a href="`+commit+`" rel="nofollow">b6dd6210ea</a></p>`)
test(commit, `<p><a href="`+commit+`" rel="nofollow">b6dd6210ea</a></p>`)
test(tree, `<p><a href="`+src+`" rel="nofollow">b6dd6210ea/src</a></p>`)
+ test("commit "+sha, `<p>commit <a href="`+commit+`" rel="nofollow">b6dd6210ea</a></p>`)
}
func TestRender_Images(t *testing.T) {