(t *testing.T)
| 88 | } |
| 89 | |
| 90 | func TestValidatorInvalid(t *testing.T) { |
| 91 | b := NewBody() |
| 92 | v := Bind(validator("my string"), NewTextField(b)) |
| 93 | b.AssertRender(t, "bind/validator-invalid", func() { |
| 94 | v.SendChange() // trigger validation |
| 95 | }) |
| 96 | } |
nothing calls this directly
no test coverage detected