aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/compression_scrub_test.go2
-rw-r--r--test/metrics_test.go2
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 {