mirror of
https://github.com/ergochat/ergo.git
synced 2024-12-22 18:52:41 +01:00
add a new test
This commit is contained in:
parent
0a67963f43
commit
f17777995b
@ -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…
Reference in New Issue
Block a user