* 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:
Zhizhen He 2023-08-10 23:06:48 +08:00 committed by GitHub
parent c657af467b
commit 2fe5890d8b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 20 additions and 19 deletions

View file

@ -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.")