MCPcopy
hub / github.com/labstack/echo / TestBindUnsupportedMediaType

Function TestBindUnsupportedMediaType

bind_test.go:438–440  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

436}
437
438func TestBindUnsupportedMediaType(t *testing.T) {
439 testBindError(t, strings.NewReader(invalidContent), MIMEApplicationJSON, &json.SyntaxError{})
440}
441
442func TestDefaultBinder_bindDataToMap(t *testing.T) {
443 exampleData := map[string][]string{

Callers

nothing calls this directly

Calls 1

testBindErrorFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…