From 2fe5890d8b7fc7801d308dbb51bf29c57ee9a92b Mon Sep 17 00:00:00 2001 From: Zhizhen He Date: Thu, 10 Aug 2023 23:06:48 +0800 Subject: Fix typos (#6235) * Fix typos and add todo to fix spelling of dnsutil.MaximumDefaulTTL Signed-off-by: Zhizhen He --- plugin/cache/cache_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugin/cache/cache_test.go') diff --git a/plugin/cache/cache_test.go b/plugin/cache/cache_test.go index 5a023f400..629a83e34 100644 --- a/plugin/cache/cache_test.go +++ b/plugin/cache/cache_test.go @@ -671,7 +671,7 @@ func TestCacheWildcardMetadata(t *testing.T) { _, k := key(qname, w.Msg, response.NoError, state.Do()) i, _ := c.pcache.Get(k) if i.(*item).wildcard != wildcard { - t.Errorf("expected wildcard reponse to enter cache with cache item's wildcard = %q, got %q", wildcard, i.(*item).wildcard) + t.Errorf("expected wildcard response to enter cache with cache item's wildcard = %q, got %q", wildcard, i.(*item).wildcard) } // 2. Test retrieving the cached item from cache and writing its wildcard value to metadata -- cgit v1.2.3