Home / Function/ Test_formatBindData_typeMismatch() — fiber Function Reference

Test_formatBindData_typeMismatch() — fiber Function Reference

Architecture documentation for the Test_formatBindData_typeMismatch() function in binder_test.go from the fiber codebase.

Entity Profile

Dependency Diagram

graph TD
  4e74f6c1_3f12_24a9_9b1f_155421ab9954["Test_formatBindData_typeMismatch()"]
  85091b00_b20b_efcc_56f1_31b94278fe54["binder_test.go"]
  4e74f6c1_3f12_24a9_9b1f_155421ab9954 -->|defined in| 85091b00_b20b_efcc_56f1_31b94278fe54
  style 4e74f6c1_3f12_24a9_9b1f_155421ab9954 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

binder/binder_test.go lines 146–153

func Test_formatBindData_typeMismatch(t *testing.T) {
	t.Parallel()
	out := struct{}{}
	files := map[string][]*multipart.FileHeader{}
	err := formatBindData("query", out, files, "file", 123, false, false)
	require.Error(t, err)
	require.Equal(t, "unsupported value type: int", err.Error())
}

Domain

Subdomains

Frequently Asked Questions

What does Test_formatBindData_typeMismatch() do?
Test_formatBindData_typeMismatch() is a function in the fiber codebase, defined in binder/binder_test.go.
Where is Test_formatBindData_typeMismatch() defined?
Test_formatBindData_typeMismatch() is defined in binder/binder_test.go at line 146.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free