* 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

@ -40,7 +40,7 @@ func TestTsig(t *testing.T) {
}
tsig := r.IsTsig()
if tsig == nil {
t.Fatalf("Respose was not TSIG")
t.Fatalf("Response was not TSIG")
}
if tsig.Error != dns.RcodeSuccess {
t.Fatalf("TSIG Error code should be dns.RcodeSuccess")
@ -70,7 +70,7 @@ func TestTsigBadKey(t *testing.T) {
}
tsig := r.IsTsig()
if tsig == nil {
t.Fatalf("Respose was not TSIG")
t.Fatalf("Response was not TSIG")
}
if tsig.Error != dns.RcodeBadKey {
t.Fatalf("TSIG Error code should be dns.RcodeBadKey")
@ -109,7 +109,7 @@ func TestTsigBadSig(t *testing.T) {
}
tsig := r.IsTsig()
if tsig == nil {
t.Fatalf("Respose was not TSIG")
t.Fatalf("Response was not TSIG")
}
if tsig.Error != dns.RcodeBadSig {
t.Fatalf("TSIG Error code should be dns.RcodeBadSig")
@ -149,7 +149,7 @@ func TestTsigBadTime(t *testing.T) {
}
tsig := r.IsTsig()
if tsig == nil {
t.Fatalf("Respose was not TSIG")
t.Fatalf("Response was not TSIG")
}
if tsig.Error != dns.RcodeBadTime {
t.Fatalf("TSIG Error code should be dns.RcodeBadTime")