MCPcopy
hub / github.com/gin-gonic/gin / TestFunctionName

Function TestFunctionName

utils_test.go:90–92  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

88}
89
90func TestFunctionName(t *testing.T) {
91 assert.Regexp(t, `^(.*/vendor/)?github.com/gin-gonic/gin.somefunction$`, nameOfFunction(somefunction))
92}
93
94func somefunction() {
95 // this empty function is used by TestFunctionName()

Callers

nothing calls this directly

Calls 1

nameOfFunctionFunction · 0.85

Tested by

no test coverage detected