From 09ce752899956de2b0e2e509159502ced72b5c66 Mon Sep 17 00:00:00 2001 From: "kare.nuorteva" Date: Wed, 20 Sep 2017 14:30:06 +0000 Subject: [PATCH] Fix typo in test git-svn-id: file:///srv/svn/repo/toyohime/trunk@65 922d331f-388e-da47-97a9-ad700dc0b8b9 --- vanity_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vanity_test.go b/vanity_test.go index 11ed1d9..5024fda 100644 --- a/vanity_test.go +++ b/vanity_test.go @@ -126,7 +126,7 @@ func TestBrowserGoDoc(t *testing.T) { srv.ServeHTTP(res, req) if res.Code != http.StatusTemporaryRedirect { - t.Fatalf("Expected response status %v, but got %v", http.StatusOK, res.Code) + t.Fatalf("Expected response status %v, but got %v", http.StatusTemporaryRedirect, res.Code) } body, err := ioutil.ReadAll(res.Body) if err != nil {