From: Mikio Hara Date: Thu, 19 Dec 2013 04:02:06 +0000 (+0900) Subject: net: rename TestReadConfig to TestDNSReadConfig X-Git-Tag: go1.3beta1~1143 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=efd1d050230606b4383f5ddb6ea3df7853fc4ce7;p=gostls13.git net: rename TestReadConfig to TestDNSReadConfig To make it possible to type "go test -run=DNS". Also removes unnecessary parens. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/43470051 --- diff --git a/src/pkg/net/dnsconfig_unix_test.go b/src/pkg/net/dnsconfig_unix_test.go index b24291c1c2..697c69f995 100644 --- a/src/pkg/net/dnsconfig_unix_test.go +++ b/src/pkg/net/dnsconfig_unix_test.go @@ -6,11 +6,9 @@ package net -import ( - "testing" -) +import "testing" -func TestReadConfig(t *testing.T) { +func TestDNSReadConfig(t *testing.T) { dnsConfig, err := dnsReadConfig("testdata/resolv.conf") if err != nil { t.Fatal(err)