(t *testing.T)
| 143 | } |
| 144 | |
| 145 | func TestNegativeSliceStart(t *testing.T) { |
| 146 | sel := Doc().Find(".container-fluid").Slice(-2, 3) |
| 147 | assertLength(t, sel.Nodes, 1) |
| 148 | assertSelectionIs(t, sel.Eq(0), "#cf3") |
| 149 | } |
| 150 | |
| 151 | func TestNegativeSliceEnd(t *testing.T) { |
| 152 | sel := Doc().Find(".container-fluid").Slice(1, -1) |
nothing calls this directly
no test coverage detected