diff options
author | 2023-08-10 23:06:48 +0800 | |
---|---|---|
committer | 2023-08-10 11:06:48 -0400 | |
commit | 2fe5890d8b7fc7801d308dbb51bf29c57ee9a92b (patch) | |
tree | f4fbc4794fdd5036a09ed5bb2316d1e5bdb4badb /test/tsig_test.go | |
parent | c657af467b4d5a81fdd296f0917213db71a3dd6d (diff) | |
download | coredns-2fe5890d8b7fc7801d308dbb51bf29c57ee9a92b.tar.gz coredns-2fe5890d8b7fc7801d308dbb51bf29c57ee9a92b.tar.zst coredns-2fe5890d8b7fc7801d308dbb51bf29c57ee9a92b.zip |
Fix typos (#6235)
* Fix typos and add todo to fix spelling of dnsutil.MaximumDefaulTTL
Signed-off-by: Zhizhen He <hezhizhen.yi@gmail.com>
Diffstat (limited to 'test/tsig_test.go')
-rw-r--r-- | test/tsig_test.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/tsig_test.go b/test/tsig_test.go index 19d5d0379..f126f792b 100644 --- a/test/tsig_test.go +++ b/test/tsig_test.go @@ -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") |