mirror of
https://github.com/hashicorp/vault.git
synced 2025-11-19 09:41:29 +01:00
Fix test statement with formatting in fatal call
This commit is contained in:
parent
2d22d8a99a
commit
f73e11089f
@ -29,7 +29,7 @@ func ExerciseBackend(t testing.TB, b Backend) {
|
|||||||
// Get should not fail, but be nil
|
// Get should not fail, but be nil
|
||||||
out, err := b.Get(context.Background(), "foo")
|
out, err := b.Get(context.Background(), "foo")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatal("initial get failed: %v", err)
|
t.Fatalf("initial get failed: %v", err)
|
||||||
}
|
}
|
||||||
if out != nil {
|
if out != nil {
|
||||||
t.Errorf("initial get was not nil: %v", out)
|
t.Errorf("initial get was not nil: %v", out)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user