Merge pull request #996 from mrunalp/fix_format

test: Fix format specifier
This commit is contained in:
Daniel J Walsh 2017-10-11 13:03:16 -04:00 committed by GitHub
commit 3363064622

View file

@ -96,7 +96,7 @@ func TestGetContainerInfo(t *testing.T) {
t.Fatalf("expected same created time %d, got %d", created.UnixNano(), ci.CreatedTime)
}
if ci.Pid != 42 {
t.Fatalf("expected pid 42, got %s", ci.Pid)
t.Fatalf("expected pid 42, got %v", ci.Pid)
}
if ci.Name != "testname" {
t.Fatalf("expected name testname, got %s", ci.Name)