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

Function TestBindingForm

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

Source from the content-addressed store, hash-verified

233}
234
235func TestBindingForm(t *testing.T) {
236 testFormBinding(t, http.MethodPost,
237 "/", "/",
238 "foo=bar&bar=foo", "bar2=foo")
239}
240
241func TestBindingForm2(t *testing.T) {
242 testFormBinding(t, http.MethodGet,

Callers

nothing calls this directly

Calls 1

testFormBindingFunction · 0.85

Tested by

no test coverage detected