From efd1d050230606b4383f5ddb6ea3df7853fc4ce7 Mon Sep 17 00:00:00 2001 From: Mikio Hara Date: Thu, 19 Dec 2013 13:02:06 +0900 Subject: [PATCH] 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 --- src/pkg/net/dnsconfig_unix_test.go | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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) -- 2.48.1