diff options
Diffstat (limited to 'blog/local_test.go')
-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) { |