From: Mikio Hara Date: Mon, 20 Feb 2012 22:11:44 +0000 (+0900) Subject: net: move hosts testdata to testdata folder X-Git-Tag: weekly.2012-02-22~73 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=6e4ddc6872fd5d884847b35ec5f3cfc0276aef50;p=gostls13.git net: move hosts testdata to testdata folder R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5687052 --- diff --git a/src/pkg/net/hosts_test.go b/src/pkg/net/hosts_test.go index 1bd00541c6..064e7e4328 100644 --- a/src/pkg/net/hosts_test.go +++ b/src/pkg/net/hosts_test.go @@ -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) diff --git a/src/pkg/net/hosts_testdata b/src/pkg/net/testdata/hosts similarity index 100% rename from src/pkg/net/hosts_testdata rename to src/pkg/net/testdata/hosts