1
0
Fork 0
forked from External/ergo

remove m -> rn skeleton mapping again

This commit is contained in:
Shivaram Lingamneni 2019-06-24 06:18:18 -04:00
parent ee08419f4a
commit 24c46235a3
2 changed files with 4 additions and 4 deletions

View file

@ -153,8 +153,8 @@ func TestSkeleton(t *testing.T) {
return skel
}
if skeleton("warning") != skeleton("waming") {
t.Errorf("i give up, Oragono should consider rn confusable with m")
if skeleton("warning") == skeleton("waming") {
t.Errorf("Oragono shouldn't consider rn confusable with m")
}
if skeleton("Phi|ip") != "philip" {
@ -165,7 +165,7 @@ func TestSkeleton(t *testing.T) {
t.Errorf("fullwidth characters should skeletonize to plain old ascii characters")
}
if skeleton("") != "smt" {
if skeleton("") != skeleton("smt") {
t.Errorf("after skeletonizing, we should casefold")
}