]> Cypherpunks repositories - gostls13.git/commitdiff
net: move hosts testdata to testdata folder
authorMikio Hara <mikioh.mikioh@gmail.com>
Mon, 20 Feb 2012 22:11:44 +0000 (07:11 +0900)
committerMikio Hara <mikioh.mikioh@gmail.com>
Mon, 20 Feb 2012 22:11:44 +0000 (07:11 +0900)
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/5687052

src/pkg/net/hosts_test.go
src/pkg/net/testdata/hosts [moved from src/pkg/net/hosts_testdata with 100% similarity]

index 1bd00541c6df7038bf9a323d282524471651bbca..064e7e432827f0c5c0c80ca9ed54cf736acc8c02 100644 (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)