From 71811dcf40279c0331c765c277e44050e575d758 Mon Sep 17 00:00:00 2001 From: Hans Kristian Flaatten Date: Thu, 2 Aug 2018 12:28:50 +0200 Subject: [PATCH] Remove invalid dictionary function parameter from Update --- maps.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maps.md b/maps.md index 4687be914..b7848fee8 100644 --- a/maps.md +++ b/maps.md @@ -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) })