Skip to content

Commit 55d6824

Browse files
committed
Merge pull request hashicorp#1274 from TimeIncOSS/modifiers-fix
Fix fmt modifiers for bool to be actually bool, not integer
2 parents 75837be + bbda2d6 commit 55d6824

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

builtin/providers/aws/structure_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -409,11 +409,11 @@ func TestExpandPrivateIPAddesses(t *testing.T) {
409409
}
410410

411411
if *result[0].PrivateIPAddress != "192.168.0.1" || !*result[0].Primary {
412-
t.Fatalf("expected ip to be 192.168.0.1 and Primary, but got %v, %b", *result[0].PrivateIPAddress, *result[0].Primary)
412+
t.Fatalf("expected ip to be 192.168.0.1 and Primary, but got %v, %t", *result[0].PrivateIPAddress, *result[0].Primary)
413413
}
414414

415415
if *result[1].PrivateIPAddress != "192.168.0.2" || *result[1].Primary {
416-
t.Fatalf("expected ip to be 192.168.0.2 and not Primary, but got %v, %b", *result[1].PrivateIPAddress, *result[1].Primary)
416+
t.Fatalf("expected ip to be 192.168.0.2 and not Primary, but got %v, %t", *result[1].PrivateIPAddress, *result[1].Primary)
417417
}
418418
}
419419

0 commit comments

Comments
 (0)