Home / Function/ TestPathCleanLong() — gin Function Reference

TestPathCleanLong() — gin Function Reference

Architecture documentation for the TestPathCleanLong() function in path_test.go from the gin codebase.

Entity Profile

Dependency Diagram

graph TD
  6dd85f77_1d2d_f596_82b5_66b8415cbe5a["TestPathCleanLong()"]
  b533967c_d510_b36e_3d17_b3b896fbdfe2["path_test.go"]
  6dd85f77_1d2d_f596_82b5_66b8415cbe5a -->|defined in| b533967c_d510_b36e_3d17_b3b896fbdfe2
  242de60c_3b16_6b2d_d7cb_ac48ea57113c["genLongPaths()"]
  6dd85f77_1d2d_f596_82b5_66b8415cbe5a -->|calls| 242de60c_3b16_6b2d_d7cb_ac48ea57113c
  style 6dd85f77_1d2d_f596_82b5_66b8415cbe5a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

path_test.go lines 126–133

func TestPathCleanLong(t *testing.T) {
	cleanTests := genLongPaths()

	for _, test := range cleanTests {
		assert.Equal(t, test.result, cleanPath(test.path))
		assert.Equal(t, test.result, cleanPath(test.result))
	}
}

Domain

Subdomains

Defined In

Frequently Asked Questions

What does TestPathCleanLong() do?
TestPathCleanLong() is a function in the gin codebase, defined in path_test.go.
Where is TestPathCleanLong() defined?
TestPathCleanLong() is defined in path_test.go at line 126.
What does TestPathCleanLong() call?
TestPathCleanLong() calls 1 function(s): genLongPaths.

Analyze Your Own Codebase

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

Try Supermodel Free