diff options
author | Brad Fitzpatrick <bradfitz@golang.org> | 2017-11-28 02:51:47 +0000 |
---|---|---|
committer | Brad Fitzpatrick <bradfitz@golang.org> | 2017-11-28 04:45:31 +0000 |
commit | c6749d26f8b03d0041fda0a85837bb15cef929c4 (patch) | |
tree | 6dbab6192ad8d6f147af87abf7da33ecd32aa36b | |
parent | d0d5e5bf9a62deacbd5a70ae0a351b808eb95437 (diff) |
blog: fix fmt format causing vet failures
Change-Id: I9f06963e12ca806d94bab94af209ab794cb32a36
Reviewed-on: https://go-review.googlesource.com/80141
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
-rw-r--r-- | blog/local_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |