From 406edbd0ad98a27cd5c1f77cde8f31688d025b80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20Wei=C3=9Fmann?= Date: Sat, 7 Sep 2019 23:45:58 +0200 Subject: [PATCH] Fix code example in dictionary (#236) --- maps.md | 1 + 1 file changed, 1 insertion(+) diff --git a/maps.md b/maps.md index aa0bd8336..c9722c180 100644 --- a/maps.md +++ b/maps.md @@ -217,6 +217,7 @@ t.Run("unknown word", func(t *testing.T) { assertError(t, got, ErrNotFound) }) +} func assertError(t *testing.T, got, want error) { t.Helper()