test: Fix format specifier
Signed-off-by: Mrunal Patel <mpatel@redhat.com>
This commit is contained in:
parent
132dae4094
commit
7c2c9a8c85
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ func TestGetContainerInfo(t *testing.T) {
|
||||||
t.Fatalf("expected same created time %d, got %d", created.UnixNano(), ci.CreatedTime)
|
t.Fatalf("expected same created time %d, got %d", created.UnixNano(), ci.CreatedTime)
|
||||||
}
|
}
|
||||||
if ci.Pid != 42 {
|
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" {
|
if ci.Name != "testname" {
|
||||||
t.Fatalf("expected name testname, got %s", ci.Name)
|
t.Fatalf("expected name testname, got %s", ci.Name)
|
||||||
|
|
Loading…
Reference in a new issue