NoFileExistsf checks whether a file does not exist in a given path. It fails if the path points to an existing _file_ only.
(t TestingT, path string, msg string, args ...interface{})
| 1432 | // NoFileExistsf checks whether a file does not exist in a given path. It fails |
| 1433 | // if the path points to an existing _file_ only. |
| 1434 | func NoFileExistsf(t TestingT, path string, msg string, args ...interface{}) { |
| 1435 | if h, ok := t.(tHelper); ok { |
| 1436 | h.Helper() |
| 1437 | } |
| 1438 | if assert.NoFileExistsf(t, path, msg, args...) { |
| 1439 | return |
| 1440 | } |
| 1441 | t.FailNow() |
| 1442 | } |
| 1443 | |
| 1444 | // NotContains asserts that the specified string, list(array, slice...) or map does NOT contain the |
| 1445 | // specified substring or element. |
no test coverage detected