summaryrefslogtreecommitdiffstats
path: root/modules/web/route_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/web/route_test.go')
-rw-r--r--modules/web/route_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/web/route_test.go b/modules/web/route_test.go
index a8470fec94..801afe92c9 100644
--- a/modules/web/route_test.go
+++ b/modules/web/route_test.go
@@ -67,7 +67,7 @@ func TestRoute2(t *testing.T) {
route = 1
})
}, func(resp http.ResponseWriter, req *http.Request) {
- resp.WriteHeader(200)
+ resp.WriteHeader(http.StatusOK)
})
r.Group("/issues/{index}", func() {