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:
parent
2c94e6d56f
commit
5731fbb4a4
|
@ -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\">",
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue