]> Cypherpunks repositories - gostls13.git/commitdiff
net: fix a typo
authorMikio Hara <mikioh.mikioh@gmail.com>
Mon, 22 Aug 2016 06:02:59 +0000 (15:02 +0900)
committerMikio Hara <mikioh.mikioh@gmail.com>
Tue, 23 Aug 2016 13:04:11 +0000 (13:04 +0000)
Change-Id: I29fadde646095fa8507f239a339857bf53172c14
Reviewed-on: https://go-review.googlesource.com/27418
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/net/dnsclient_unix_test.go

index c953c1efaf6688483ae7ac838a94619013865af4..8e9a015d5546033f0faf3e04a9c596cace3e1ce0 100644 (file)
@@ -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)