diff --git a/exercises/word-count/word_count_test.go b/exercises/word-count/word_count_test.go index b30f665c2..865507c2c 100644 --- a/exercises/word-count/word_count_test.go +++ b/exercises/word-count/word_count_test.go @@ -7,10 +7,13 @@ import ( const targetTestVersion = 3 -func TestWordCount(t *testing.T) { +func TestTestVersion(t *testing.T) { if testVersion != targetTestVersion { t.Fatalf("Found testVersion = %v, want %v", testVersion, targetTestVersion) } +} + +func TestWordCount(t *testing.T) { for _, tt := range testCases { expected := tt.output actual := WordCount(tt.input)