(t *testing.T)
| 106 | } |
| 107 | |
| 108 | func TestSlice(t *testing.T) { |
| 109 | sel := Doc().Find(".pvk-content").Slice(0, 2) |
| 110 | |
| 111 | assertLength(t, sel.Nodes, 2) |
| 112 | assertSelectionIs(t, sel, "#pc1", "#pc2") |
| 113 | } |
| 114 | |
| 115 | func TestSliceToEnd(t *testing.T) { |
| 116 | sel := Doc().Find(".pvk-content").Slice(1, ToEnd) |
nothing calls this directly
no test coverage detected