aboutsummaryrefslogtreecommitdiff
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.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/pkg/net/ip_test.go b/src/pkg/net/ip_test.go
index 07e627aef4..0ca315e7c0 100644
--- a/src/pkg/net/ip_test.go
+++ b/src/pkg/net/ip_test.go
@@ -8,7 +8,6 @@ import (
"bytes"
"reflect"
"testing"
- "os"
"runtime"
)
@@ -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},