mirror of
https://github.com/gin-gonic/gin.git
synced 2026-09-04 22:53:34 +08:00
bugfix #1019 - fixed linter error.
This commit is contained in:
parent
b42e8cf42c
commit
ba32475d00
@ -254,7 +254,7 @@ func TestShouldBindBodyWithWithinBodyLimit(t *testing.T) {
|
||||
|
||||
cached, ok := c.Get(BodyBytesKey)
|
||||
require.True(t, ok)
|
||||
assert.Equal(t, []byte(`{"foo":"bar"}`), cached)
|
||||
assert.JSONEq(t, `{"foo":"bar"}`, string(cached.([]byte)))
|
||||
}
|
||||
|
||||
func TestShouldBindBodyWithCachedReadBypassesReWrap(t *testing.T) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user