mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-01 19:17:58 +00:00
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:
@@ -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{
|
||||
|
||||
Reference in New Issue
Block a user