diff --git a/wordfrequency/wordfrequency_test.go b/wordfrequency/wordfrequency_test.go index 6a948bc..cd8516c 100644 --- a/wordfrequency/wordfrequency_test.go +++ b/wordfrequency/wordfrequency_test.go @@ -9,7 +9,8 @@ import ( func TestGetWordFrequency(t *testing.T) { input := bytes.NewBufferString( - "hello WORLD Hello world World hello cats HELLO cats dogs") + `hello WORLD Hello so world i at + World hello cats HELLO cats dogs`) /* NOTE: DeepEqual nuance: Can't compare [4]Word with * []Word, because Array != Slice.