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:
parent
c657af467b
commit
2fe5890d8b
13 changed files with 20 additions and 19 deletions
|
@ -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.")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue