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

Function TestBindingTOML

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

Source from the content-addressed store, hash-verified

466}
467
468func TestBindingTOML(t *testing.T) {
469 testBodyBinding(t,
470 TOML, "toml",
471 "/", "/",
472 `foo="bar"`, `bar="foo"`)
473}
474
475func TestBindingTOMLFail(t *testing.T) {
476 testBodyBindingFail(t,

Callers

nothing calls this directly

Calls 1

testBodyBindingFunction · 0.85

Tested by

no test coverage detected