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{})
| 651 | // NotErrorIsf asserts that none of the errors in err's chain matches target. |
| 652 | // This is a wrapper for errors.Is. |
| 653 | func NotErrorIsf(t TestingT, err error, target error, msg string, args ...interface{}) bool { |
| 654 | if h, ok := t.(tHelper); ok { |
| 655 | h.Helper() |
| 656 | } |
| 657 | return NotErrorIs(t, err, target, append([]interface{}{msg}, args...)...) |
| 658 | } |
| 659 | |
| 660 | // NotImplementsf asserts that an object does not implement the specified interface. |
| 661 | // |
no test coverage detected