net: rearrange source files so we could run more tests on windows

R=rsc
CC=golang-dev
https://golang.org/cl/4603043
This commit is contained in:
Alex Brainman 2011-06-13 10:22:31 +10:00
parent 95b8137a16
commit 9ded954a3b
9 changed files with 443 additions and 478 deletions

View file

@ -7,7 +7,6 @@ package net
import (
"flag"
"regexp"
"runtime"
"testing"
)
@ -103,9 +102,6 @@ var revAddrTests = []struct {
}
func TestReverseAddress(t *testing.T) {
if runtime.GOOS == "windows" {
return
}
for i, tt := range revAddrTests {
a, e := reverseaddr(tt.Addr)
if len(tt.ErrPrefix) > 0 && e == nil {