Fix lint issues

Signed-off-by: Émile Ré <emile@probo.com>
This commit is contained in:
Émile Ré
2026-07-22 10:13:49 +02:00
parent 6024a2e803
commit ee3136a0d2

View File

@@ -101,11 +101,13 @@ func TestSEOFromRequest_StripsPathFromBaseURL(t *testing.T) {
assert.Equal(t, "https://trust.acme.com/fr/documents", canonical)
var enHref string
for _, link := range hreflang {
if link.Lang == "en" {
enHref = link.Href
}
}
assert.Equal(t, "https://trust.acme.com/en/documents", enHref)
}