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

Function TestBindingFormDefaultValue

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

Source from the content-addressed store, hash-verified

257}
258
259func TestBindingFormDefaultValue(t *testing.T) {
260 testFormBindingDefaultValue(t, http.MethodPost,
261 "/", "/",
262 "foo=bar", "bar2=foo")
263}
264
265func TestBindingFormDefaultValue2(t *testing.T) {
266 testFormBindingDefaultValue(t, http.MethodGet,

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected