0
0
mirror of https://github.com/go-gitea/gitea.git synced 2026-05-14 19:38:04 +02:00

Apply suggestion from @silverwind

Signed-off-by: silverwind <me@silverwind.io>
This commit is contained in:
silverwind 2026-03-01 14:33:45 +01:00 committed by GitHub
parent e66a3d4630
commit 64f1f9c294
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -114,7 +114,6 @@ func TestRender_CrossReferences(t *testing.T) {
inputURL,
`<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"
test(
inputURL,