Skip to content

Commit

Permalink
Merge pull request quii#110 from AlexVPopov/patch-2
Browse files Browse the repository at this point in the history
Fix a code snippet for failing test
  • Loading branch information
quii authored Jul 25, 2018
2 parents 5ae820e + 10a7209 commit 7254793
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions maps.md
Original file line number Diff line number Diff line change
Expand Up @@ -164,10 +164,10 @@ func TestSearch(t *testing.T) {
want := "could not find the word you were looking for"

if err == nil {
t.Error("expected to get an error.")
t.Fatal("expected to get an error.")
}

assertStrings(t, got.Error(), want)
assertStrings(t, err.Error(), want)
})
}
```
Expand Down

0 comments on commit 7254793

Please sign in to comment.