NoDirExistsf checks whether a directory does not exist in the given path. It fails if the path points to an existing _directory_ only.
(t TestingT, path string, msg string, args ...interface{})
| 1333 | // NoDirExistsf checks whether a directory does not exist in the given path. |
| 1334 | // It fails if the path points to an existing _directory_ only. |
| 1335 | func NoDirExistsf(t TestingT, path string, msg string, args ...interface{}) { |
| 1336 | if h, ok := t.(tHelper); ok { |
| 1337 | h.Helper() |
| 1338 | } |
| 1339 | if assert.NoDirExistsf(t, path, msg, args...) { |
| 1340 | return |
| 1341 | } |
| 1342 | t.FailNow() |
| 1343 | } |
| 1344 | |
| 1345 | // NoError asserts that a function returned no error (i.e. `nil`). |
| 1346 | // |
no test coverage detected
searching dependent graphs…