NotErrorIsf asserts that at 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{})
| 1535 | // NotErrorIsf asserts that at none of the errors in err's chain matches target. |
| 1536 | // This is a wrapper for errors.Is. |
| 1537 | func NotErrorIsf(t TestingT, err error, target error, msg string, args ...interface{}) { |
| 1538 | if h, ok := t.(tHelper); ok { |
| 1539 | h.Helper() |
| 1540 | } |
| 1541 | if assert.NotErrorIsf(t, err, target, msg, args...) { |
| 1542 | return |
| 1543 | } |
| 1544 | t.FailNow() |
| 1545 | } |
| 1546 | |
| 1547 | // NotImplements asserts that an object does not implement the specified interface. |
| 1548 | // |
no test coverage detected
searching dependent graphs…