mirror of
https://github.com/gin-gonic/gin.git
synced 2026-07-15 15:51:17 +08:00
Compare commits
3 Commits
cfc8f2389c
...
7f912436d9
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7f912436d9 | ||
|
|
597ca7b607 | ||
|
|
7534258241 |
@ -6,6 +6,7 @@ coverage:
|
||||
default:
|
||||
target: 99%
|
||||
threshold: 99%
|
||||
informational: true
|
||||
|
||||
patch:
|
||||
default:
|
||||
|
||||
@ -1033,6 +1033,7 @@ func TestContextGetCookie(t *testing.T) {
|
||||
func TestContextBodyAllowedForStatus(t *testing.T) {
|
||||
assert.False(t, bodyAllowedForStatus(http.StatusProcessing))
|
||||
assert.False(t, bodyAllowedForStatus(http.StatusNoContent))
|
||||
assert.False(t, bodyAllowedForStatus(http.StatusContinue))
|
||||
assert.False(t, bodyAllowedForStatus(http.StatusNotModified))
|
||||
assert.True(t, bodyAllowedForStatus(http.StatusInternalServerError))
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user