Home / Function/ Test_UnimplementedCborMarshal_PanicMessage() — fiber Function Reference

Test_UnimplementedCborMarshal_PanicMessage() — fiber Function Reference

Architecture documentation for the Test_UnimplementedCborMarshal_PanicMessage() function in cbor_test.go from the fiber codebase.

Entity Profile

Dependency Diagram

graph TD
  23aa38d8_390c_e6c9_549f_6567246bdb7b["Test_UnimplementedCborMarshal_PanicMessage()"]
  c3eb4349_8638_9743_621e_0c894e704e9b["cbor_test.go"]
  23aa38d8_390c_e6c9_549f_6567246bdb7b -->|defined in| c3eb4349_8638_9743_621e_0c894e704e9b
  style 23aa38d8_390c_e6c9_549f_6567246bdb7b fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

binder/cbor_test.go lines 110–119

func Test_UnimplementedCborMarshal_PanicMessage(t *testing.T) {
	t.Parallel()

	defer func() {
		if r := recover(); r != nil {
			require.Contains(t, r, "Must explicitly setup CBOR")
		}
	}()
	_, _ = UnimplementedCborMarshal(struct{ Name string }{Name: "test"}) //nolint:errcheck // this is just a test to trigger the panic
}

Domain

Subdomains

Defined In

Frequently Asked Questions

What does Test_UnimplementedCborMarshal_PanicMessage() do?
Test_UnimplementedCborMarshal_PanicMessage() is a function in the fiber codebase, defined in binder/cbor_test.go.
Where is Test_UnimplementedCborMarshal_PanicMessage() defined?
Test_UnimplementedCborMarshal_PanicMessage() is defined in binder/cbor_test.go at line 110.

Analyze Your Own Codebase

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

Try Supermodel Free