mirror of
https://github.com/gin-gonic/gin.git
synced 2025-10-24 02:32:17 +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
|
// RUN
|
||||||
w := performRequest(router, "GET", "/recovery")
|
w := performRequest(router, "GET", "/recovery")
|
||||||
// TEST
|
// TEST
|
||||||
assert.Equal(t, 400, w.Code)
|
assert.Equal(t, 500, w.Code)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user