NotErrorIsf asserts that none of the errors in err's chain matches target. This is a wrapper for errors.Is.
(t TestingT, err error, target error, msg string, args ...interface{})
| 633 | // NotErrorIsf asserts that none of the errors in err's chain matches target. |
| 634 | // This is a wrapper for errors.Is. |
| 635 | func NotErrorIsf(t TestingT, err error, target error, msg string, args ...interface{}) bool { |
| 636 | if h, ok := t.(tHelper); ok { |
| 637 | h.Helper() |
| 638 | } |
| 639 | return NotErrorIs(t, err, target, append([]interface{}{msg}, args...)...) |
| 640 | } |
| 641 | |
| 642 | // NotImplementsf asserts that an object does not implement the specified interface. |
| 643 | // |
no test coverage detected