Commit efd1d050 authored by Mikio Hara's avatar Mikio Hara

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
parent 7f8a5057
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment