Fix various documentation, user-facing, and source comment typos (#16367)

* Fix various doc, user-facing, and source comment typos

Found via `codespell -q 3 -S ./options/locale,./vendor -L ba,pullrequest,pullrequests,readby`
This commit is contained in:
luzpaz 2021-07-08 07:38:13 -04:00 committed by GitHub
parent bc6f060b8c
commit e0296b6a6d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
87 changed files with 132 additions and 132 deletions

View file

@ -92,7 +92,7 @@ func IsValidExternalURL(uri string) bool {
return false
}
// TODO: Later it should be added to allow local network IP addreses
// TODO: Later it should be added to allow local network IP addresses
// only if allowed by special setting
return true

View file

@ -24,12 +24,12 @@ func Test_IsValidURL(t *testing.T) {
valid: false,
},
{
description: "Loobpack IPv4 URL",
description: "Loopback IPv4 URL",
url: "http://127.0.1.1:5678/",
valid: true,
},
{
description: "Loobpack IPv6 URL",
description: "Loopback IPv6 URL",
url: "https://[::1]/",
valid: true,
},
@ -61,7 +61,7 @@ func Test_IsValidExternalURL(t *testing.T) {
valid: true,
},
{
description: "Loobpack IPv4 URL",
description: "Loopback IPv4 URL",
url: "http://127.0.1.1:5678/",
valid: false,
},

View file

@ -12,7 +12,7 @@ import (
var gitRefNameValidationTestCases = []validationTestCase{
{
description: "Referece contains only characters",
description: "Reference name contains only characters",
data: TestForm{
BranchName: "test",
},