Home / Function/ Test_App_Test_drop_empty_response() — fiber Function Reference

Test_App_Test_drop_empty_response() — fiber Function Reference

Architecture documentation for the Test_App_Test_drop_empty_response() function in app_test.go from the fiber codebase.

Entity Profile

Dependency Diagram

graph TD
  94b9409a_393c_2811_bc05_614283abde0b["Test_App_Test_drop_empty_response()"]
  e728fdd2_242f_706b_c1d2_041b3d6badb5["app_test.go"]
  94b9409a_393c_2811_bc05_614283abde0b -->|defined in| e728fdd2_242f_706b_c1d2_041b3d6badb5
  style 94b9409a_393c_2811_bc05_614283abde0b fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

app_test.go lines 2479–2492

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

	app := New()
	app.Get("/", func(c Ctx) error {
		return c.Drop()
	})

	_, err := app.Test(httptest.NewRequest(MethodGet, "/", http.NoBody), TestConfig{
		Timeout:       0,
		FailOnTimeout: false,
	})
	require.ErrorIs(t, err, ErrTestGotEmptyResponse)
}

Domain

Subdomains

Defined In

Frequently Asked Questions

What does Test_App_Test_drop_empty_response() do?
Test_App_Test_drop_empty_response() is a function in the fiber codebase, defined in app_test.go.
Where is Test_App_Test_drop_empty_response() defined?
Test_App_Test_drop_empty_response() is defined in app_test.go at line 2479.

Analyze Your Own Codebase

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

Try Supermodel Free