mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-01-24 15:19:18 -05:00
Lint tests (sorry, I'm a bit tired)
This commit is contained in:
parent
2c94e6d56f
commit
5731fbb4a4
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue