spelling: strings (#19542)
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Этот коммит содержится в:
@@ -107,7 +107,7 @@ func TestMapJson(t *testing.T) {
|
||||
require.Equal(t, rm["id"], "test_id", "map should be valid")
|
||||
|
||||
rm2 := MapFromJSON(strings.NewReader(""))
|
||||
require.LessOrEqual(t, len(rm2), 0, "make should be ivalid")
|
||||
require.LessOrEqual(t, len(rm2), 0, "make should be invalid")
|
||||
}
|
||||
|
||||
func TestIsValidEmail(t *testing.T) {
|
||||
@@ -213,7 +213,7 @@ var hashtags = map[string]string{
|
||||
"#?test": "",
|
||||
"#-test": "",
|
||||
"#yo_yo": "#yo_yo",
|
||||
"(#brakets)": "#brakets",
|
||||
"(#brackets)": "#brackets",
|
||||
")#stekarb(": "#stekarb",
|
||||
"<#less_than<": "#less_than",
|
||||
">#greater_than>": "#greater_than",
|
||||
@@ -885,7 +885,7 @@ func TestIsValidHTTPURL(t *testing.T) {
|
||||
},
|
||||
{
|
||||
"url with invalid scheme",
|
||||
"htp://mattermost.com",
|
||||
"http-bad://mattermost.com",
|
||||
false,
|
||||
},
|
||||
{
|
||||
@@ -905,7 +905,7 @@ func TestIsValidHTTPURL(t *testing.T) {
|
||||
},
|
||||
{
|
||||
"correct url with http scheme",
|
||||
"http://mattemost.com",
|
||||
"http://mattermost.com",
|
||||
true,
|
||||
},
|
||||
{
|
||||
|
||||
Ссылка в новой задаче
Block a user