NoDirExists checks whether a directory does not exist in the given path. It fails if the path points to an existing _directory_ only.
(path string, msgAndArgs ...interface{})
| 1045 | // NoDirExists checks whether a directory does not exist in the given path. |
| 1046 | // It fails if the path points to an existing _directory_ only. |
| 1047 | func (a *Assertions) NoDirExists(path string, msgAndArgs ...interface{}) { |
| 1048 | if h, ok := a.t.(tHelper); ok { |
| 1049 | h.Helper() |
| 1050 | } |
| 1051 | NoDirExists(a.t, path, msgAndArgs...) |
| 1052 | } |
| 1053 | |
| 1054 | // NoDirExistsf checks whether a directory does not exist in the given path. |
| 1055 | // It fails if the path points to an existing _directory_ only. |
nothing calls this directly
no test coverage detected