all: test: Fix govet warnings

Fix calls to t.Fatal() with formatting.
Fixed some calls to Fatalf() with wrong formatting
This commit is contained in:
Félix Cantournet
2016-12-21 19:08:27 +01:00
parent 1ae7dafd57
commit 0d6d4211b8
16 changed files with 43 additions and 43 deletions

View File

@@ -61,7 +61,7 @@ func TestUnwrap(t *testing.T) {
t.Fatal("outer response was nil")
}
if outer.WrapInfo == nil {
t.Fatal("outer wrapinfo was nil, response was %#v", *outer)
t.Fatalf("outer wrapinfo was nil, response was %#v", *outer)
}
args = append(args, outer.WrapInfo.Token)
@@ -88,7 +88,7 @@ func TestUnwrap(t *testing.T) {
t.Fatal("outer response was nil")
}
if outer.WrapInfo == nil {
t.Fatal("outer wrapinfo was nil, response was %#v", *outer)
t.Fatalf("outer wrapinfo was nil, response was %#v", *outer)
}
args = []string{