Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cogentcore/core
/ TestBindText
Function
TestBindText
core/value_test.go:67–71 ·
view source on GitHub ↗
(t *testing.T)
Source
from the content-addressed store, hash-verified
65
}
66
67
func
TestBindText(t *testing.T) {
68
b := NewBody()
69
Bind(
"Hello"
, NewText(b))
70
b.AssertRender(t,
"bind/text"
)
71
}
72
73
type
validator string
74
Callers
nothing calls this directly
Calls
4
AssertRender
Method · 0.95
NewBody
Function · 0.85
Bind
Function · 0.85
NewText
Function · 0.70
Tested by
no test coverage detected