fix recovery_test , cover 400 to 500

This commit is contained in:
liuxuewen 2017-12-06 10:27:21 +08:00
parent fb1231503c
commit 3737ee68f9

View File

@ -39,5 +39,5 @@ func TestPanicWithAbort(t *testing.T) {
// RUN
w := performRequest(router, "GET", "/recovery")
// TEST
assert.Equal(t, 400, w.Code)
assert.Equal(t, 500, w.Code)
}