use confusables.SkeletonTweaked to fix the test

This commit is contained in:
Shivaram Lingamneni 2019-06-19 04:56:11 -04:00
parent f17777995b
commit 6e9a31a574
5 changed files with 5 additions and 39 deletions

View file

@ -128,18 +128,6 @@ func TestCasefoldName(t *testing.T) {
}
}
func TestIsBoring(t *testing.T) {
assertBoring := func(str string, expected bool) {
if isBoring(str) != expected {
t.Errorf("expected [%s] to have boringness [%t], but got [%t]", str, expected, !expected)
}
}
assertBoring("warning", true)
assertBoring("phi|ip", false)
assertBoring("Νικηφόρος", false)
}
func TestIsIdent(t *testing.T) {
assertIdent := func(str string, expected bool) {
if isIdent(str) != expected {