Skip to content

Commit

Permalink
fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Elena Gromova committed Jan 23, 2024
1 parent c2b7a16 commit 6a705be
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/20-array-slice-map/40-map-for/solution_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ func TestMostPopularWord(t *testing.T) {
a.Equal("world", MostPopularWord([]string{"hello", "world", "hello", "world", "world"}))
a.Equal("one", MostPopularWord([]string{"one", "two", "three", "four", "five"}))
a.Equal("c", MostPopularWord([]string{"a", "b", "c", "c", "d", "e", "e", "d"}))
a.Equal("a", MostPopularWord([]string{"a", "b", "b", "a"}))
}

0 comments on commit 6a705be

Please sign in to comment.