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{})
| 1640 | // NotErrorIsf asserts that none of the errors in err's chain matches target. |
| 1641 | // This is a wrapper for errors.Is. |
| 1642 | func NotErrorIsf(t TestingT, err error, target error, msg string, args ...interface{}) { |
| 1643 | if h, ok := t.(tHelper); ok { |
| 1644 | h.Helper() |
| 1645 | } |
| 1646 | if assert.NotErrorIsf(t, err, target, msg, args...) { |
| 1647 | return |
| 1648 | } |
| 1649 | t.FailNow() |
| 1650 | } |
| 1651 | |
| 1652 | // NotImplements asserts that an object does not implement the specified interface. |
| 1653 | // |
no test coverage detected