Comply the tests with golang TIP

Upstream-commit: d8fa52b7b5b6101538c15735500b3a01327ca96f
Component: engine
This commit is contained in:
creack
2013-03-21 10:31:02 -07:00
parent 7fe5b8f241
commit a9ffc585e7
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -6,3 +6,4 @@ a.out
build_src
command-line-arguments.test
.flymake*
docker.test
+1 -1
View File
@@ -102,7 +102,7 @@ func TestConversion(t *testing.T) {
func TestIPAllocator(t *testing.T) {
gwIP, n, _ := net.ParseCIDR("127.0.0.1/29")
alloc, err := newIPAllocator(&net.IPNet{gwIP, n.Mask})
alloc, err := newIPAllocator(&net.IPNet{IP: gwIP, Mask: n.Mask})
if err != nil {
t.Fatal(err)
}