Home / Function/ TestState_Keys_SkipsNonStringKeys_WithMixedOrder() — fiber Function Reference

TestState_Keys_SkipsNonStringKeys_WithMixedOrder() — fiber Function Reference

Architecture documentation for the TestState_Keys_SkipsNonStringKeys_WithMixedOrder() function in state_test.go from the fiber codebase.

Entity Profile

Dependency Diagram

graph TD
  7ab896eb_b894_0af2_3bfa_f31a0ad8f9a6["TestState_Keys_SkipsNonStringKeys_WithMixedOrder()"]
  040d1690_51eb_9416_23b2_7b1543e92d65["state_test.go"]
  7ab896eb_b894_0af2_3bfa_f31a0ad8f9a6 -->|defined in| 040d1690_51eb_9416_23b2_7b1543e92d65
  style 7ab896eb_b894_0af2_3bfa_f31a0ad8f9a6 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

state_test.go lines 445–455

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

	st := newState()
	st.Set("before", "value")
	st.dependencies.Store(42, "value")
	st.Set("after", "value")

	returnedKeys := st.Keys()
	require.ElementsMatch(t, []string{"before", "after"}, returnedKeys)
}

Domain

Subdomains

Defined In

Frequently Asked Questions

What does TestState_Keys_SkipsNonStringKeys_WithMixedOrder() do?
TestState_Keys_SkipsNonStringKeys_WithMixedOrder() is a function in the fiber codebase, defined in state_test.go.
Where is TestState_Keys_SkipsNonStringKeys_WithMixedOrder() defined?
TestState_Keys_SkipsNonStringKeys_WithMixedOrder() is defined in state_test.go at line 445.

Analyze Your Own Codebase

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

Try Supermodel Free