add a new test

This commit is contained in:
Shivaram Lingamneni 2019-06-19 04:53:15 -04:00
parent 0a67963f43
commit f17777995b
1 changed files with 4 additions and 0 deletions

View File

@ -189,6 +189,10 @@ func TestSkeleton(t *testing.T) {
t.Errorf("we must protect against cyrillic homoglyph attacks") t.Errorf("we must protect against cyrillic homoglyph attacks")
} }
if skeleton("еmily") != skeleton("emily") {
t.Errorf("we must protect against cyrillic homoglyph attacks")
}
if skeleton("РОТАТО") != "potato" { if skeleton("РОТАТО") != "potato" {
t.Errorf("we must protect against cyrillic homoglyph attacks") t.Errorf("we must protect against cyrillic homoglyph attacks")
} }