MCPcopy Index your code
hub / github.com/coder/coder / TestFuncName

Function TestFuncName

coderd/tracing/util_test.go:14–17  ·  view source on GitHub ↗

t.Parallel affects the result of these tests. nolint:paralleltest

(t *testing.T)

Source from the content-addressed store, hash-verified

12
13//nolint:paralleltest
14func TestFuncName(t *testing.T) {
15 fn := tracing.FuncName()
16 assert.Equal(t, "tracing_test.TestFuncName", fn)
17}
18
19type foo struct{}
20

Callers

nothing calls this directly

Calls 2

FuncNameFunction · 0.92
EqualMethod · 0.45

Tested by

no test coverage detected