Fix test statement with formatting in fatal call

This commit is contained in:
Jeff Mitchell 2018-02-20 00:26:41 -05:00
parent 0f26cb9b8d
commit be53e38fe0
1 changed files with 1 additions and 1 deletions

View File

@ -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)