From 6baa2bfe72d8de4c3d6b85c60f0a43ede07cc60c Mon Sep 17 00:00:00 2001 From: tiennm99 Date: Tue, 25 Aug 2026 15:54:12 +0700 Subject: [PATCH] style(wordle): gofmt lookup test table --- internal/modules/wordle/lookup_test.go | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/internal/modules/wordle/lookup_test.go b/internal/modules/wordle/lookup_test.go index c09a28d..75a0653 100644 --- a/internal/modules/wordle/lookup_test.go +++ b/internal/modules/wordle/lookup_test.go @@ -4,14 +4,14 @@ import "testing" func TestNormalizeWord(t *testing.T) { cases := map[string]string{ - "": "", - "crane": "crane", - "CRANE": "crane", - " crane ": "crane", - "c-r-a-n-e": "crane", - "héllo": "hllo", // strips non a-z (including the é and accented o-equivalent) - "!@#$%": "", - "42 crane": "crane", + "": "", + "crane": "crane", + "CRANE": "crane", + " crane ": "crane", + "c-r-a-n-e": "crane", + "héllo": "hllo", // strips non a-z (including the é and accented o-equivalent) + "!@#$%": "", + "42 crane": "crane", } for in, want := range cases { if got := normalizeWord(in); got != want {