From 57468b3d1adee0b76d4b1f1139c89831290ea57e Mon Sep 17 00:00:00 2001 From: Emil Hessman Date: Mon, 15 Dec 2014 19:27:17 +0100 Subject: [PATCH] builder/vmware/iso: fix incorrect printf verb type in test Fixes the following vet report: builder/vmware/iso/builder_test.go:178: arg b.config.DiskSize for printf verb %s of wrong type: uint --- builder/vmware/iso/builder_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builder/vmware/iso/builder_test.go b/builder/vmware/iso/builder_test.go index b6c0cfd81..1749b396e 100644 --- a/builder/vmware/iso/builder_test.go +++ b/builder/vmware/iso/builder_test.go @@ -175,7 +175,7 @@ func TestBuilderPrepare_DiskSize(t *testing.T) { } if b.config.DiskSize != 60000 { - t.Fatalf("bad size: %s", b.config.DiskSize) + t.Fatalf("bad size: %d", b.config.DiskSize) } }