diff options
author | 2019-01-29 23:21:19 +0800 | |
---|---|---|
committer | 2019-01-29 10:21:19 -0500 | |
commit | 0eff7f37979533d079528e3618e26a16bc33136e (patch) | |
tree | 3e6ed1ee1bd7af4934ad236068a7acb8b4b62b0b /test | |
parent | a84c26d78b45e63d13903a888b8c693d0daea9f0 (diff) | |
download | coredns-0eff7f37979533d079528e3618e26a16bc33136e.tar.gz coredns-0eff7f37979533d079528e3618e26a16bc33136e.tar.zst coredns-0eff7f37979533d079528e3618e26a16bc33136e.zip |
some typo fix (#2512)
Signed-off-by: yeya24 <ben.ye@daocloud.io>
Diffstat (limited to 'test')
-rw-r--r-- | test/compression_scrub_test.go | 2 | ||||
-rw-r--r-- | test/metrics_test.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/compression_scrub_test.go b/test/compression_scrub_test.go index b18f1fe0a..3e6481aef 100644 --- a/test/compression_scrub_test.go +++ b/test/compression_scrub_test.go @@ -42,7 +42,7 @@ func TestCompressScrub(t *testing.T) { } buf = buf[:n] // If there is compression in the returned packet we should look for compression pointers, if found - // the pointers should return to the domain name in the query (the first domain name that's avaiable for + // the pointers should return to the domain name in the query (the first domain name that's available for // compression. This means we're looking for a combo where the pointers is detected and the offset is 12 // the position of the first name after the header. The erratic plugin adds 30 RRs that should all be compressed. found := 0 diff --git a/test/metrics_test.go b/test/metrics_test.go index da7e7b322..d12eac12c 100644 --- a/test/metrics_test.go +++ b/test/metrics_test.go @@ -161,7 +161,7 @@ google.com:0 { } defer i.Stop() - // send an inital query to setup properly the cache size + // send an initial query to setup properly the cache size m := new(dns.Msg) m.SetQuestion("google.com.", dns.TypeA) if _, err = dns.Exchange(m, udp); err != nil { |