From bbda2d6733a8df0c935c6cacdfe9d4ec11e9ff44 Mon Sep 17 00:00:00 2001 From: Radek Simko Date: Sun, 22 Mar 2015 13:29:29 +0000 Subject: [PATCH] Fix fmt modifiers for bool to be actually bool, not integer --- builtin/providers/aws/structure_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/builtin/providers/aws/structure_test.go b/builtin/providers/aws/structure_test.go index ff3d20305..aafdeabbc 100644 --- a/builtin/providers/aws/structure_test.go +++ b/builtin/providers/aws/structure_test.go @@ -409,11 +409,11 @@ func TestExpandPrivateIPAddesses(t *testing.T) { } if *result[0].PrivateIPAddress != "192.168.0.1" || !*result[0].Primary { - t.Fatalf("expected ip to be 192.168.0.1 and Primary, but got %v, %b", *result[0].PrivateIPAddress, *result[0].Primary) + t.Fatalf("expected ip to be 192.168.0.1 and Primary, but got %v, %t", *result[0].PrivateIPAddress, *result[0].Primary) } if *result[1].PrivateIPAddress != "192.168.0.2" || *result[1].Primary { - t.Fatalf("expected ip to be 192.168.0.2 and not Primary, but got %v, %b", *result[1].PrivateIPAddress, *result[1].Primary) + t.Fatalf("expected ip to be 192.168.0.2 and not Primary, but got %v, %t", *result[1].PrivateIPAddress, *result[1].Primary) } }