style: deduplicate types in function signatures (#2322)

This commit is contained in:
CatsDeservePets authored and GitHub committed 2025-12-27 06:24:15 +01:00
1 parent d8b9026ef2
commit eb01cb7c7b
6 files changed
+11 -11

No files matched your search

+1 -1
View File
@@ -30,7 +30,7 @@ func TestRemoveDiacritics(t *testing.T) {
checkRemoveDiacritics(testStr, expStr, t)
}
func checkRemoveDiacritics(testStr string, expStr string, t *testing.T) {
func checkRemoveDiacritics(testStr, expStr string, t *testing.T) {
resultStr := removeDiacritics(testStr)
if resultStr != expStr {
t.Errorf("at input '%v' expected '%v' but got '%v'", testStr, expStr, resultStr)