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()