Home / Function/ Test_MatchEtag() — fiber Function Reference

Test_MatchEtag() — fiber Function Reference

Architecture documentation for the Test_MatchEtag() function in helpers_test.go from the fiber codebase.

Entity Profile

Dependency Diagram

graph TD
  b5ebb14a_46b2_0387_8c9e_8b384bc086c2["Test_MatchEtag()"]
  c82e3595_b1b8_f596_c097_f26fa40159d1["helpers_test.go"]
  b5ebb14a_46b2_0387_8c9e_8b384bc086c2 -->|defined in| c82e3595_b1b8_f596_c097_f26fa40159d1
  style b5ebb14a_46b2_0387_8c9e_8b384bc086c2 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

helpers_test.go lines 1568–1577

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

	require.True(t, matchEtag(`"a"`, `"a"`))
	require.True(t, matchEtag(`W/"a"`, `"a"`))
	require.True(t, matchEtag(`"a"`, `W/"a"`))
	require.False(t, matchEtag(`"a"`, `"b"`))
	require.False(t, matchEtag(`a`, `"a"`))
	require.False(t, matchEtag(`"a"`, `b`))
}

Domain

Subdomains

Defined In

Frequently Asked Questions

What does Test_MatchEtag() do?
Test_MatchEtag() is a function in the fiber codebase, defined in helpers_test.go.
Where is Test_MatchEtag() defined?
Test_MatchEtag() is defined in helpers_test.go at line 1568.

Analyze Your Own Codebase

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

Try Supermodel Free