(t *testing.T)
| 163 | } |
| 164 | |
| 165 | func TestNegativeSliceToEnd(t *testing.T) { |
| 166 | sel := Doc().Find(".container-fluid").Slice(-3, ToEnd) |
| 167 | assertLength(t, sel.Nodes, 3) |
| 168 | assertSelectionIs(t, sel, "#cf2", "#cf3", "#cf4") |
| 169 | } |
| 170 | |
| 171 | func TestNegativeSliceOutOfBounds(t *testing.T) { |
| 172 | defer assertPanic(t) |
nothing calls this directly
no test coverage detected