Skip to content

Commit

Permalink
Fix a code mistake
Browse files Browse the repository at this point in the history
Replace "test" with "unknown" as an input in test, when searching for an unknown word in the dictionary.
  • Loading branch information
AlexVPopov authored Jul 22, 2018
1 parent 276500b commit f0d9792
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion maps.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ func TestSearch(t *testing.T) {
})

t.Run("unknown word", func(t *testing.T) {
_, err := dictionary.Search("test")
_, err := dictionary.Search("unknown")
want := "could not find the word you were looking for"

if err == nil {
Expand Down

0 comments on commit f0d9792

Please sign in to comment.