(t *testing.T)
| 22 | } |
| 23 | |
| 24 | func TestBindUpdate(t *testing.T) { |
| 25 | b := NewBody() |
| 26 | name := "Gopher" |
| 27 | tf := Bind(&name, NewTextField(b)) |
| 28 | b.AssertRender(t, "bind/update", func() { |
| 29 | name = "Cogent Core" |
| 30 | tf.Update() |
| 31 | }) |
| 32 | } |
| 33 | |
| 34 | func TestBindChange(t *testing.T) { |
| 35 | b := NewBody() |
nothing calls this directly
no test coverage detected