3
0
mirror of https://github.com/ergochat/ergo.git synced 2025-04-01 13:27:07 +02:00

Merge pull request #1114 from slingamn/scratch100

test more string cases
This commit is contained in:
Shivaram Lingamneni 2020-06-05 06:42:22 -07:00 committed by GitHub
commit 33bdd8d604
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -106,7 +106,7 @@ func TestCasefoldName(t *testing.T) {
for _, errCase := range []string{ for _, errCase := range []string{
"", "#", "foo,bar", "star*man*junior", "lo7t?", "", "#", "foo,bar", "star*man*junior", "lo7t?",
"f.l", "excited!nick", "foo@bar", ":trail", "f.l", "excited!nick", "foo@bar", ":trail",
"~o", "&o", "@o", "%h", "+v", "-m", "~o", "&o", "@o", "%h", "+v", "-m", "\t", "a\tb",
} { } {
testCases = append(testCases, nameTest{name: errCase, err: true}) testCases = append(testCases, nameTest{name: errCase, err: true})
} }