Signed-off-by: Chris Seto <chriskseto@gmail.com>
| ... | ... |
@@ -157,7 +157,7 @@ func makeTestContainer(c *check.C, options testContainerOptions) (containerID st |
| 157 | 157 |
if status != 0 {
|
| 158 | 158 |
logs = "UNABLE TO GET LOGS" |
| 159 | 159 |
} |
| 160 |
- c.Fatalf("failed to make test container, exit code (%d): %s", exitCode, logs)
|
|
| 160 |
+ c.Fatalf("failed to make test container, exit code (%s): %s", exitCode, logs)
|
|
| 161 | 161 |
} |
| 162 | 162 |
|
| 163 | 163 |
return |
| ... | ... |
@@ -409,11 +409,11 @@ func TestParseNetworkOptsNegativePorts(t *testing.T) {
|
| 409 | 409 |
t.Fail() |
| 410 | 410 |
} |
| 411 | 411 |
if len(ports) != 0 {
|
| 412 |
- t.Logf("Expected nil got %s", len(ports))
|
|
| 412 |
+ t.Logf("Expected nil got %d", len(ports))
|
|
| 413 | 413 |
t.Fail() |
| 414 | 414 |
} |
| 415 | 415 |
if len(bindings) != 0 {
|
| 416 |
- t.Logf("Expected 0 got %s", len(bindings))
|
|
| 416 |
+ t.Logf("Expected 0 got %d", len(bindings))
|
|
| 417 | 417 |
t.Fail() |
| 418 | 418 |
} |
| 419 | 419 |
} |