mirror of
https://github.com/gin-gonic/gin.git
synced 2025-10-23 18:22:23 +08:00
fix recovery_test , cover 400 to 500
This commit is contained in:
parent
fb1231503c
commit
3737ee68f9
@ -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)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user