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/template/cname_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugin/template') diff --git a/plugin/template/cname_test.go b/plugin/template/cname_test.go index c7e81df23..6ce6d7d2d 100644 --- a/plugin/template/cname_test.go +++ b/plugin/template/cname_test.go @@ -46,10 +46,10 @@ func TestTruncatedCNAME(t *testing.T) { _, err := handler.ServeDNS(context.TODO(), w, r) if err != nil { - t.Fatalf("Unexpecetd error %q", err) + t.Fatalf("Unexpected error %q", err) } if w.Msg == nil { - t.Fatalf("Unexpecetd empty response.") + t.Fatalf("Unexpected empty response.") } if !w.Msg.Truncated { t.Error("Expected reply to be marked truncated.") -- cgit v1.2.3