From ba32475d000257857ec8bef41ecdef63c1453860 Mon Sep 17 00:00:00 2001 From: Maximilian Pfeffer Date: Tue, 28 Jul 2026 02:19:34 +0200 Subject: [PATCH] bugfix #1019 - fixed linter error. --- body_limit_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/body_limit_test.go b/body_limit_test.go index ea0d2589..6eb92c97 100644 --- a/body_limit_test.go +++ b/body_limit_test.go @@ -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) {