packer: fix formatting directives in test
Fixes the following vet reports: packer/template_test.go:496: possible formatting directive in Fatal call packer/template_test.go:528: possible formatting directive in Fatal call
This commit is contained in:
parent
c4d4e0a21f
commit
d9abb5458b
|
@ -497,7 +497,7 @@ func TestParseTemplate_Provisioners(t *testing.T) {
|
|||
|
||||
result, err := ParseTemplate([]byte(data), nil)
|
||||
if err != nil {
|
||||
t.Fatal("err: %s", err)
|
||||
t.Fatalf("err: %s", err)
|
||||
}
|
||||
if result == nil {
|
||||
t.Fatal("should have result")
|
||||
|
@ -529,7 +529,7 @@ func TestParseTemplate_ProvisionerPauseBefore(t *testing.T) {
|
|||
|
||||
result, err := ParseTemplate([]byte(data), nil)
|
||||
if err != nil {
|
||||
t.Fatal("err: %s", err)
|
||||
t.Fatalf("err: %s", err)
|
||||
}
|
||||
if result == nil {
|
||||
t.Fatal("should have result")
|
||||
|
|
Loading…
Reference in New Issue