From 801f7e71be01f2f002da1c20a64e16214dc7fdb0 Mon Sep 17 00:00:00 2001 From: Tamir Duberstein Date: Thu, 7 Jan 2016 10:08:10 -0500 Subject: [PATCH] vet: buffer_test.go:65: possible formatting directive in Fatal call --- buffer_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buffer_test.go b/buffer_test.go index c8a8d0a..8a7a564 100644 --- a/buffer_test.go +++ b/buffer_test.go @@ -62,7 +62,7 @@ func TestBufferOffset(t *testing.T) { t.Fatal(err) } if n != 2 { - t.Fatal("cannot read the bytes: want=%d got=%d", 2, n) + t.Fatalf("cannot read the bytes: want=%d got=%d", 2, n) } if !bytes.Equal(readBytes, writeBytes[i*2:i*2+2]) { t.Fatalf("different bytes read: want=%s got=%s",