Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cogentcore/core
/ TestCallFuncArgs
Function
TestCallFuncArgs
core/funcbutton_test.go:22–27 ·
view source on GitHub ↗
(t *testing.T)
Source
from the content-addressed store, hash-verified
20
}
21
22
func
TestCallFuncArgs(t *testing.T) {
23
b := NewBody()
24
myFunc :=
func
(a int, b string) {}
25
CallFunc(b, myFunc)
26
b.AssertRenderScreen(t,
"func-button/args"
)
27
}
Callers
nothing calls this directly
Calls
3
AssertRenderScreen
Method · 0.95
NewBody
Function · 0.85
CallFunc
Function · 0.85
Tested by
no test coverage detected