applied lint typo fixes

This commit is contained in:
Gani Georgiev
2026-03-04 22:31:27 +02:00
parent 4a40c1b897
commit bb18799a0b
56 changed files with 4788 additions and 4780 deletions

View File

@@ -87,7 +87,7 @@ func (s3 *S3) URL(path string) string {
path = escapePath(parsed.Path)
// the rest is usually not expected to be part of the S3 path but it is kept to avoid surprises
// (it will be further escaped if necessery by the Go HTTP client)
// (it will be further escaped if necessary by the Go HTTP client)
if parsed.RawQuery != "" {
path += "?" + parsed.RawQuery
}

View File

@@ -16,7 +16,7 @@ func TestS3URL(t *testing.T) {
path := "/test_key/a/b c@d?a=@1&b=!2#@a b c"
// note: query params and fragments are kept as it is
// since they are later escaped if necessery by the Go HTTP client
// since they are later escaped if necessary by the Go HTTP client
expectedPath := "/test_key/a/b%20c%40d?a=@1&b=!2#@a b c"
scenarios := []struct {