(t *testing.T)
| 230 | } |
| 231 | |
| 232 | func TestIndexOfNilNode(t *testing.T) { |
| 233 | sel := Doc().Find("div.pvk-gutter") |
| 234 | if i := sel.IndexOfNode(nil); i != -1 { |
| 235 | t.Errorf("Expected index of -1, got %v.", i) |
| 236 | } |
| 237 | } |
| 238 | |
| 239 | func TestIndexOfSelection(t *testing.T) { |
| 240 | sel := Doc().Find("div") |
nothing calls this directly
no test coverage detected