summaryrefslogtreecommitdiff
path: root/src/pkg/net/ip_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/net/ip_test.go')
-rw-r--r--src/pkg/net/ip_test.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/pkg/net/ip_test.go b/src/pkg/net/ip_test.go
index 07e627aef..df647ef73 100644
--- a/src/pkg/net/ip_test.go
+++ b/src/pkg/net/ip_test.go
@@ -7,9 +7,8 @@ package net
import (
"bytes"
"reflect"
- "testing"
- "os"
"runtime"
+ "testing"
)
func isEqual(a, b []byte) bool {
@@ -113,7 +112,7 @@ var parsecidrtests = []struct {
in string
ip IP
net *IPNet
- err os.Error
+ err error
}{
{"135.104.0.0/32", IPv4(135, 104, 0, 0), &IPNet{IPv4(135, 104, 0, 0), IPv4Mask(255, 255, 255, 255)}, nil},
{"0.0.0.0/24", IPv4(0, 0, 0, 0), &IPNet{IPv4(0, 0, 0, 0), IPv4Mask(255, 255, 255, 0)}, nil},