Fix test statement with formatting in fatal call
This commit is contained in:
parent
0f26cb9b8d
commit
be53e38fe0
|
@ -29,7 +29,7 @@ func ExerciseBackend(t testing.TB, b Backend) {
|
|||
// Get should not fail, but be nil
|
||||
out, err := b.Get(context.Background(), "foo")
|
||||
if err != nil {
|
||||
t.Fatal("initial get failed: %v", err)
|
||||
t.Fatalf("initial get failed: %v", err)
|
||||
}
|
||||
if out != nil {
|
||||
t.Errorf("initial get was not nil: %v", out)
|
||||
|
|
Loading…
Reference in New Issue