aboutsummaryrefslogtreecommitdiff
path: root/src/net/dnsclient_unix_test.go
diff options
context:
space:
mode:
authorMikio Hara <mikioh.mikioh@gmail.com>2016-08-22 15:02:59 +0900
committerMikio Hara <mikioh.mikioh@gmail.com>2016-08-23 13:04:11 +0000
commite3cecfdcaec55c4dd62c7d4fef3d03fed6d03e38 (patch)
tree53f24e1f58d39a2ef80a92699c2b06fa6ebc03d8 /src/net/dnsclient_unix_test.go
parent80b31c05e6ae37c09162406590b9e3b99f0fff9b (diff)
downloadgo-e3cecfdcaec55c4dd62c7d4fef3d03fed6d03e38.tar.gz
go-e3cecfdcaec55c4dd62c7d4fef3d03fed6d03e38.zip
net: fix a typo
Change-Id: I29fadde646095fa8507f239a339857bf53172c14 Reviewed-on: https://go-review.googlesource.com/27418 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/net/dnsclient_unix_test.go')
-rw-r--r--src/net/dnsclient_unix_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/dnsclient_unix_test.go b/src/net/dnsclient_unix_test.go
index c953c1efaf..8e9a015d55 100644
--- a/src/net/dnsclient_unix_test.go
+++ b/src/net/dnsclient_unix_test.go
@@ -411,7 +411,7 @@ func TestGoLookupIPWithResolverConfig(t *testing.T) {
// We need to take care with errors on both
// DNS message exchange layer and DNS
// transport layer because goLookupIP may fail
- // when the IP connectivty on node under test
+ // when the IP connectivity on node under test
// gets lost during its run.
if err, ok := err.(*DNSError); !ok || tt.error != nil && (err.Name != tt.error.(*DNSError).Name || err.Server != tt.error.(*DNSError).Server || err.IsTimeout != tt.error.(*DNSError).IsTimeout) {
t.Errorf("got %v; want %v", err, tt.error)