From f17777995b0383432ff360690dceb6fb6bdb6c85 Mon Sep 17 00:00:00 2001 From: Shivaram Lingamneni Date: Wed, 19 Jun 2019 04:53:15 -0400 Subject: [PATCH] add a new test --- irc/strings_test.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/irc/strings_test.go b/irc/strings_test.go index 595ef7f6..40d32f68 100644 --- a/irc/strings_test.go +++ b/irc/strings_test.go @@ -189,6 +189,10 @@ func TestSkeleton(t *testing.T) { 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" { t.Errorf("we must protect against cyrillic homoglyph attacks") }