(t *testing.T)
| 95 | } |
| 96 | |
| 97 | func TestSlice(t *testing.T) { |
| 98 | sel := Doc().Find(".pvk-content").Slice(0, 2) |
| 99 | |
| 100 | assertLength(t, sel.Nodes, 2) |
| 101 | assertSelectionIs(t, sel, "#pc1", "#pc2") |
| 102 | } |
| 103 | |
| 104 | func TestSliceToEnd(t *testing.T) { |
| 105 | sel := Doc().Find(".pvk-content").Slice(1, ToEnd) |
nothing calls this directly
no test coverage detected