Fix go vet errors

Signed-off-by: Chris Seto <chriskseto@gmail.com>
This commit is contained in:
Chris Seto 2015-07-25 16:58:19 -04:00
parent 9f1a11056c
commit 65b22e7a78

View file

@ -409,11 +409,11 @@ func TestParseNetworkOptsNegativePorts(t *testing.T) {
t.Fail() t.Fail()
} }
if len(ports) != 0 { if len(ports) != 0 {
t.Logf("Expected nil got %s", len(ports)) t.Logf("Expected nil got %d", len(ports))
t.Fail() t.Fail()
} }
if len(bindings) != 0 { if len(bindings) != 0 {
t.Logf("Expected 0 got %s", len(bindings)) t.Logf("Expected 0 got %d", len(bindings))
t.Fail() t.Fail()
} }
} }