(t *testing.T)
| 152 | } |
| 153 | |
| 154 | func TestNegativeSliceToEnd(t *testing.T) { |
| 155 | sel := Doc().Find(".container-fluid").Slice(-3, ToEnd) |
| 156 | assertLength(t, sel.Nodes, 3) |
| 157 | assertSelectionIs(t, sel, "#cf2", "#cf3", "#cf4") |
| 158 | } |
| 159 | |
| 160 | func TestNegativeSliceOutOfBounds(t *testing.T) { |
| 161 | defer assertPanic(t) |
nothing calls this directly
no test coverage detected