Browse Source

add a new test

tags/v1.1.0
Shivaram Lingamneni 5 years ago
parent
commit
f17777995b
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      irc/strings_test.go

+ 4
- 0
irc/strings_test.go View File

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

Loading…
Cancel
Save