(t *testing.T, sel *Selection, class string)
| 71 | } |
| 72 | |
| 73 | func assertClass(t *testing.T, sel *Selection, class string) { |
| 74 | if !sel.HasClass(class) { |
| 75 | t.Errorf("Expected node to have class %s, found %+v.", class, sel.Get(0)) |
| 76 | } |
| 77 | } |
| 78 | |
| 79 | func assertPanic(t *testing.T) { |
| 80 | if e := recover(); e == nil { |
no test coverage detected
searching dependent graphs…