Browse Source

Add network package to testing

If only for gofmt checking...
Dan Williams 9 years ago
parent
commit
ba8ceb4ed9
2 changed files with 2 additions and 2 deletions
  1. 1 1
      network/backend.go
  2. 1 1
      test

+ 1 - 1
network/backend.go

@@ -17,7 +17,7 @@ import (
 
 type beNewFunc func(sm subnet.Manager, extIface *net.Interface, extIaddr net.IP, extEaddr net.IP) (backend.Backend, error)
 
-var backendMap = map[string]beNewFunc {
+var backendMap = map[string]beNewFunc{
 	"udp":     udp.New,
 	"alloc":   alloc.New,
 	"host-gw": hostgw.New,

+ 1 - 1
test

@@ -14,7 +14,7 @@ COVER=${COVER:-"-cover"}
 
 source ./build
 
-TESTABLE="pkg/ip subnet remote"
+TESTABLE="pkg/ip subnet network remote"
 FORMATTABLE="$TESTABLE"
 
 # user has not provided PKG override