From 7c2c9a8c85e8fb3278a49dcded77499e06834535 Mon Sep 17 00:00:00 2001 From: Mrunal Patel Date: Tue, 10 Oct 2017 16:23:54 -0700 Subject: [PATCH] test: Fix format specifier Signed-off-by: Mrunal Patel --- server/inspect_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/inspect_test.go b/server/inspect_test.go index 8c892e43..e0479494 100644 --- a/server/inspect_test.go +++ b/server/inspect_test.go @@ -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)