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:
parent
e66a3d4630
commit
64f1f9c294
@ -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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user