diff --git a/diacritics_test.go b/diacritics_test.go index 98764225..f2b67091 100644 --- a/diacritics_test.go +++ b/diacritics_test.go @@ -1,7 +1,6 @@ package main import ( - "strconv" "testing" ) @@ -63,10 +62,10 @@ func runSearch(t *testing.T, ignorecase, smartcase, ignorediacritics, smartdiacr gOpts.smartdia = smartdiacritics matched, _ := searchMatch(base, pattern, false) if matched != expected { - t.Errorf("False search for ignorecase = %s, smartcase = %s, ignoredia = %s, smartdia = %s", - strconv.FormatBool(gOpts.ignorecase), - strconv.FormatBool(gOpts.smartcase), - strconv.FormatBool(gOpts.ignoredia), - strconv.FormatBool(gOpts.smartdia)) + t.Errorf("False search for ignorecase = %t, smartcase = %t, ignoredia = %t, smartdia = %t", + gOpts.ignorecase, + gOpts.smartcase, + gOpts.ignoredia, + gOpts.smartdia) } }