mirror of
https://github.com/coredns/coredns.git
synced 2025-10-28 08:44:17 -04:00
Fix typos (#6235)
* Fix typos and add todo to fix spelling of dnsutil.MaximumDefaulTTL Signed-off-by: Zhizhen He <hezhizhen.yi@gmail.com>
This commit is contained in:
@@ -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.")
|
||||
|
||||
Reference in New Issue
Block a user