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