From 3737ee68f9b880de831328fd61545a0b395f28ee Mon Sep 17 00:00:00 2001 From: liuxuewen Date: Wed, 6 Dec 2017 10:27:21 +0800 Subject: [PATCH] fix recovery_test , cover 400 to 500 --- recovery_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recovery_test.go b/recovery_test.go index de3b62a5..fbfdd368 100644 --- a/recovery_test.go +++ b/recovery_test.go @@ -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) }