ThatError returns an OnError for error type assertions.
(err error)
| 25 | |
| 26 | // ThatError returns an OnError for error type assertions. |
| 27 | func (a Assertion) ThatError(err error) OnError { |
| 28 | return OnError{Assertion: a, err: err} |
| 29 | } |
| 30 | |
| 31 | // Succeeded asserts that the error value was nil. |
| 32 | func (o OnError) Succeeded() bool { |
no outgoing calls