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

Function TestBindingXML

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

Source from the content-addressed store, hash-verified

452}
453
454func TestBindingXML(t *testing.T) {
455 testBodyBinding(t,
456 XML, "xml",
457 "/", "/",
458 "<map><foo>bar</foo></map>", "<map><bar>foo</bar></map>")
459}
460
461func TestBindingXMLFail(t *testing.T) {
462 testBodyBindingFail(t,

Callers

nothing calls this directly

Calls 1

testBodyBindingFunction · 0.85

Tested by

no test coverage detected