Succeeded asserts that the error value was nil.
()
| 30 | |
| 31 | // Succeeded asserts that the error value was nil. |
| 32 | func (o OnError) Succeeded() bool { |
| 33 | return o.CompareRaw(o.err, "", "success").Test(o.err == nil) |
| 34 | } |
| 35 | |
| 36 | // Failed asserts that the error value was not nil. |
| 37 | func (o OnError) Failed() bool { |