diff --git a/maps.md b/maps.md index 075ed0182..537131642 100644 --- a/maps.md +++ b/maps.md @@ -504,7 +504,7 @@ func TestUpdate(t *testing.T) { dictionary := Dictionary{word: definition} newDefinition := "new definition" - dictionary.Update(dictionaryword, newDefinition) + dictionary.Update(word, newDefinition) assertDefinition(t, dictionary, word, newDefinition) }