(t *testing.T)
| 132 | } |
| 133 | |
| 134 | func TestNegativeSliceStart(t *testing.T) { |
| 135 | sel := Doc().Find(".container-fluid").Slice(-2, 3) |
| 136 | assertLength(t, sel.Nodes, 1) |
| 137 | assertSelectionIs(t, sel.Eq(0), "#cf3") |
| 138 | } |
| 139 | |
| 140 | func TestNegativeSliceEnd(t *testing.T) { |
| 141 | sel := Doc().Find(".container-fluid").Slice(1, -1) |
nothing calls this directly
no test coverage detected