]> Cypherpunks repositories - gostls13.git/commit
net: remove obsolete TestLookupHost
authorMikio Hara <mikioh.mikioh@gmail.com>
Sat, 13 Jun 2015 22:50:17 +0000 (07:50 +0900)
committerMikio Hara <mikioh.mikioh@gmail.com>
Tue, 16 Jun 2015 17:37:29 +0000 (17:37 +0000)
commit047f07a285edbc60f64018973be7ce6b341fe22d
tree05b0937479bcbfaf1db3711c037fceb9a200f9c1
parent9585bb29c83a4a705e1f6135d9ca156a1b50ad89
net: remove obsolete TestLookupHost

The motivation of TestLookupHost was to test codepaths on LookupHost,
LookupIP when we set CGO_ENABLED=1. Now we have serveral tests on those
APIs and their codepaths such as TestLookupGooglePublicDNSAddr,
TestCgoLookupIP, TestGoLookupIP, and the test using the ambiguous source
"localhost" is unnecessary.

Fixes #11182.

Change-Id: I397c823e1648114d91a229b316477bff2948b4f9
Reviewed-on: https://go-review.googlesource.com/11057
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/net/hosts_test.go