Apply suggestion from @silverwind

Signed-off-by: silverwind <me@silverwind.io>
This commit is contained in:
silverwind authored and GitHub committed 2026-03-01 14:33:45 +01:00
1 parent e66a3d4630
commit 64f1f9c294
1 file changed
-1
-1
View File
@@ -114,7 +114,6 @@ func TestRender_CrossReferences(t *testing.T) {
inputURL, inputURL,
`<p><a href="`+inputURL+`" rel="nofollow"><code>0123456789.patch</code></a></p>`) `<p><a href="`+inputURL+`" rel="nofollow"><code>0123456789.patch</code></a></p>`)
// abbreviated commit hash URLs should also be rendered as code links
inputURL = setting.AppURL + "owner/repo/commit/01234567890123456789012345" inputURL = setting.AppURL + "owner/repo/commit/01234567890123456789012345"
test( test(
inputURL, inputURL,