Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/coder/coder
/ TestFuncNameMethod
Function
TestFuncNameMethod
coderd/tracing/util_test.go:26–29 ·
view source on GitHub ↗
nolint:paralleltest
(t *testing.T)
Source
from the content-addressed store, hash-verified
24
25
//nolint:paralleltest
26
func
TestFuncNameMethod(t *testing.T) {
27
fn := foo{}.bar()
28
assert.Equal(t,
"tracing_test.foo.bar"
, fn)
29
}
30
31
func
(*foo) baz() string {
32
return
tracing.FuncName()
Callers
nothing calls this directly
Calls
2
bar
Method · 0.80
Equal
Method · 0.45
Tested by
no test coverage detected