Merge 441ee408b18a81a3e84f967c99c50eee10fb96e1 into 0f09c3a9b4626d9fe9979cf4d0521d6ae32ab646

This commit is contained in:
Renan Martins Pimentel 2026-10-10 09:00:48 -03:00 committed by GitHub
commit 7d8f188d11
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1225,7 +1225,7 @@ func testBodyBinding(t *testing.T, b Binding, name, path, badPath, body, badBody
obj = FooStruct{}
req = requestWithBody(http.MethodPost, badPath, badBody)
err = JSON.Bind(req, &obj)
err = b.Bind(req, &obj)
require.Error(t, err)
}
@ -1336,7 +1336,7 @@ func testBodyBindingFail(t *testing.T, b Binding, name, path, badPath, body, bad
obj = FooStruct{}
req = requestWithBody(http.MethodPost, badPath, badBody)
err = JSON.Bind(req, &obj)
err = b.Bind(req, &obj)
require.Error(t, err)
}