(t *testing.T)
| 26 | } |
| 27 | |
| 28 | func TestFilterFunction(t *testing.T) { |
| 29 | sel := Doc().Find(".pvk-content").FilterFunction(func(i int, s *Selection) bool { |
| 30 | return i > 0 |
| 31 | }) |
| 32 | assertLength(t, sel.Nodes, 2) |
| 33 | } |
| 34 | |
| 35 | func TestFilterFunctionRollback(t *testing.T) { |
| 36 | sel := Doc().Find(".pvk-content") |
nothing calls this directly
no test coverage detected