forked from External/ergo
use regular Skeleton instead of SkeletonTweaked
dan: "I probably wouldn't expect those mappings to cause much trouble at all for legitimate users at the end of the day" shivaram: [concurs]
This commit is contained in:
parent
990d76923c
commit
b075ea6eb9
2 changed files with 5 additions and 5 deletions
|
|
@ -153,15 +153,15 @@ func TestSkeleton(t *testing.T) {
|
|||
return skel
|
||||
}
|
||||
|
||||
if skeleton("warning") == skeleton("waming") {
|
||||
t.Errorf("Oragono shouldn't consider rn confusable with m")
|
||||
if skeleton("warning") != skeleton("waming") {
|
||||
t.Errorf("i give up, Oragono should consider rn confusable with m")
|
||||
}
|
||||
|
||||
if skeleton("Phi|ip") != "philip" {
|
||||
t.Errorf("but we still consider pipe confusable with l")
|
||||
}
|
||||
|
||||
if skeleton("smt") != "smt" {
|
||||
if skeleton("smt") != skeleton("smt") {
|
||||
t.Errorf("fullwidth characters should skeletonize to plain old ascii characters")
|
||||
}
|
||||
|
||||
|
|
@ -169,7 +169,7 @@ func TestSkeleton(t *testing.T) {
|
|||
t.Errorf("after skeletonizing, we should casefold")
|
||||
}
|
||||
|
||||
if skeleton("smt") != "smt" {
|
||||
if skeleton("smt") != skeleton("smt") {
|
||||
t.Errorf("our friend lover successfully tricked the skeleton algorithm!")
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue