Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-29 05:06:11 +01:00

Lint tests (sorry, I'm a bit tired)

This commit is contained in:
Panagiotis "Ivory" Vasilopoulos 2023-07-20 15:30:22 +02:00
parent 2c94e6d56f
commit 5731fbb4a4

View file

@ -304,7 +304,7 @@ func TestGetOpenStreetMapLink(t *testing.T) {
resp = session.MakeRequest(t, req, http.StatusOK) resp = session.MakeRequest(t, req, http.StatusOK)
assert.Contains(t, assert.Contains(t,
resp.Body.String(), resp.Body.String(),
"<a href=\"" + "https://www.openstreetmap.org/search?query=" + encodedLocation + "\" rel=\"nofollow noreferrer\">", "<a href=\""+"https://www.openstreetmap.org/search?query="+encodedLocation+"\" rel=\"nofollow noreferrer\">",
) )
} }
} }