chore: copilot nits

This commit is contained in:
Stavros
2026-06-22 12:20:12 +03:00
parent 6249228039
commit 804152e968
4 changed files with 18 additions and 4 deletions
+1 -1
View File
@@ -54,7 +54,7 @@ func TestGetRootDomain(t *testing.T) {
// Domain managed by ICANN
domain = "http://example.co.uk"
_, err = utils.GetCookieDomain(domain, true)
assert.Error(t, err, "domain in public suffix list, cannot set cookies")
assert.ErrorContains(t, err, "domain in public suffix list, cannot set cookies")
// Domain without subdomain
domain = "http://tinyauth.app"