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)
assert.Contains(t,
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\">",
)
}
}