Failed asserts that the error value was not nil.
()
| 35 | |
| 36 | // Failed asserts that the error value was not nil. |
| 37 | func (o OnError) Failed() bool { |
| 38 | return o.ExpectRaw("", "failure").Test(o.err != nil) |
| 39 | } |
| 40 | |
| 41 | // Equals asserts that the error value matches the expected error. |
| 42 | func (o OnError) Equals(expect error) bool { |