bugfix #1019 - fixed linter error.

This commit is contained in:
Maximilian Pfeffer 2026-07-28 02:19:34 +02:00
parent b42e8cf42c
commit ba32475d00

View File

@ -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) {