Home / Function/ Test_Client_Invalid_URL() — fiber Function Reference

Test_Client_Invalid_URL() — fiber Function Reference

Architecture documentation for the Test_Client_Invalid_URL() function in client_test.go from the fiber codebase.

Entity Profile

Dependency Diagram

graph TD
  c275bafe_0979_32d6_ed72_ae88e361cd50["Test_Client_Invalid_URL()"]
  5d11d0f7_2b3b_7bf3_3b1d_76d79d6872a2["client_test.go"]
  c275bafe_0979_32d6_ed72_ae88e361cd50 -->|defined in| 5d11d0f7_2b3b_7bf3_3b1d_76d79d6872a2
  style c275bafe_0979_32d6_ed72_ae88e361cd50 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

client/client_test.go lines 813–829

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

	app, dial, start := createHelperServer(t)

	app.Get("/", func(c fiber.Ctx) error {
		return c.SendString(c.Hostname())
	})

	go start()

	_, err := New().SetDial(dial).
		R().
		Get("http//example")

	require.ErrorIs(t, err, ErrURLFormat)
}

Domain

Subdomains

Frequently Asked Questions

What does Test_Client_Invalid_URL() do?
Test_Client_Invalid_URL() is a function in the fiber codebase, defined in client/client_test.go.
Where is Test_Client_Invalid_URL() defined?
Test_Client_Invalid_URL() is defined in client/client_test.go at line 813.

Analyze Your Own Codebase

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

Try Supermodel Free