Skip to content

Commit

Permalink
fix: reword error message
Browse files Browse the repository at this point in the history
  • Loading branch information
kevarr authored Jan 25, 2025
1 parent 23b2524 commit 341b39e
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 @@ -551,7 +551,7 @@ We added our own error type and are returning a `nil` error.
With these changes, we now get a very clear error:

```
dictionary_test.go:66: got error '%!q(<nil>)' want 'cannot update word because it does not exist'
dictionary_test.go:66: got error '%!q(<nil>)' want 'cannot perform operation on word because it does not exist'
```

## Write enough code to make it pass
Expand Down

0 comments on commit 341b39e

Please sign in to comment.