1
0
mirror of https://github.com/golang/go synced 2024-09-24 23:10:12 -06: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:
Mikio Hara 2012-02-21 07:11:44 +09:00
parent 6ba77ecb6a
commit 6e4ddc6872
2 changed files with 1 additions and 1 deletions

View File

@ -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)