MCPcopy
hub / github.com/gin-gonic/gin / TestBindingFormMultipartForMapFail

Function TestBindingFormMultipartForMapFail

binding/binding_test.go:707–712  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

705}
706
707func TestBindingFormMultipartForMapFail(t *testing.T) {
708 req := createFormMultipartRequestForMapFail(t)
709 var obj FooStructForMapType
710 err := FormMultipart.Bind(req, &obj)
711 require.Error(t, err)
712}
713
714func TestBindingProtoBuf(t *testing.T) {
715 test := &protoexample.Test{

Callers

nothing calls this directly

Calls 3

BindMethod · 0.65
ErrorMethod · 0.45

Tested by

no test coverage detected