Skip to content

Commit

Permalink
Remove invalid dictionary function parameter from Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Starefossen authored Aug 2, 2018
1 parent cbf854e commit 71811dc
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 @@ -570,7 +570,7 @@ t.Run("new word", func(t *testing.T) {
definition := "this is just a test"
dictionary := Dictionary{}

err := dictionary.Update(dictionary, word, definition)
err := dictionary.Update(word, definition)

assertError(t, err, ErrWordDoesNotExist)
})
Expand Down

0 comments on commit 71811dc

Please sign in to comment.