MCPcopy 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
67func TestBindText(t *testing.T) {
68 b := NewBody()
69 Bind("Hello", NewText(b))
70 b.AssertRender(t, "bind/text")
71}
72
73type validator string
74

Callers

nothing calls this directly

Calls 4

AssertRenderMethod · 0.95
NewBodyFunction · 0.85
BindFunction · 0.85
NewTextFunction · 0.70

Tested by

no test coverage detected