Browse Source

fix: clean up a few warnings

Alex White 6 months ago
parent
commit
9301314350
1 changed files with 1 additions and 1 deletions
  1. 1 1
      fallout_test.go

+ 1 - 1
fallout_test.go

@@ -167,7 +167,7 @@ func TestGame_FilterWords(t *testing.T) {
 			if len(g.Words) != len(tt.want) {
 				t.Errorf("Expected %d Words, got %d", len(tt.want), len(g.Words))
 			}
-			for word, _ := range tt.want {
+			for word := range tt.want {
 				if _, ok := g.Words[word]; !ok {
 					t.Errorf("Word %s was removed, expected it to remain", word)
 				}