(t *testing.T)
| 53 | } |
| 54 | |
| 55 | func TestIsSelection(t *testing.T) { |
| 56 | sel := Doc().Find("div") |
| 57 | sel2 := Doc().Find(".pvk-gutter") |
| 58 | |
| 59 | if !sel.IsSelection(sel2) { |
| 60 | t.Error("Expected some div to have a pvk-gutter class.") |
| 61 | } |
| 62 | } |
| 63 | |
| 64 | func TestIsSelectionNot(t *testing.T) { |
| 65 | sel := Doc().Find("div") |
nothing calls this directly
no test coverage detected
searching dependent graphs…