forked from External/ergo
add a new test
This commit is contained in:
parent
0a67963f43
commit
f17777995b
1 changed files with 4 additions and 0 deletions
|
|
@ -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")
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue