mirror of
https://github.com/golang/go
synced 2024-11-12 06:20:22 -07:00
net: move hosts testdata to testdata folder
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5687052
This commit is contained in:
parent
6ba77ecb6a
commit
6e4ddc6872
@ -34,7 +34,7 @@ var hosttests = []hostTest{
|
||||
|
||||
func TestLookupStaticHost(t *testing.T) {
|
||||
p := hostsPath
|
||||
hostsPath = "hosts_testdata"
|
||||
hostsPath = "testdata/hosts"
|
||||
for i := 0; i < len(hosttests); i++ {
|
||||
tt := hosttests[i]
|
||||
ips := lookupStaticHost(tt.host)
|
||||
|
Loading…
Reference in New Issue
Block a user