From c6749d26f8b03d0041fda0a85837bb15cef929c4 Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Tue, 28 Nov 2017 02:51:47 +0000 Subject: blog: fix fmt format causing vet failures Change-Id: I9f06963e12ca806d94bab94af209ab794cb32a36 Reviewed-on: https://go-review.googlesource.com/80141 Run-TryBot: Brad Fitzpatrick TryBot-Result: Gobot Gobot Reviewed-by: Ian Lance Taylor --- blog/local_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'blog') diff --git a/blog/local_test.go b/blog/local_test.go index b2a4419..a65d815 100644 --- a/blog/local_test.go +++ b/blog/local_test.go @@ -21,7 +21,7 @@ func TestServer(t *testing.T) { w := httptest.NewRecorder() mux.ServeHTTP(w, r) if w.Code != 200 { - t.Errorf("GET /: want code 200, got %d") + t.Errorf("GET /: code = %d; want 200", w.Code) } want := "The Go Programming Language Blog" if !strings.Contains(w.Body.String(), want) { -- cgit v1.2.3