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{})
| 1389 | // NoFileExistsf checks whether a file does not exist in a given path. It fails |
| 1390 | // if the path points to an existing _file_ only. |
| 1391 | func NoFileExistsf(t TestingT, path string, msg string, args ...interface{}) { |
| 1392 | if h, ok := t.(tHelper); ok { |
| 1393 | h.Helper() |
| 1394 | } |
| 1395 | if assert.NoFileExistsf(t, path, msg, args...) { |
| 1396 | return |
| 1397 | } |
| 1398 | t.FailNow() |
| 1399 | } |
| 1400 | |
| 1401 | // NotContains asserts that the specified string, list(array, slice...) or map does NOT contain the |
| 1402 | // specified substring or element. |
no test coverage detected
searching dependent graphs…