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{})
| 1081 | // NoDirExists checks whether a directory does not exist in the given path. |
| 1082 | // It fails if the path points to an existing _directory_ only. |
| 1083 | func (a *Assertions) NoDirExists(path string, msgAndArgs ...interface{}) bool { |
| 1084 | if h, ok := a.t.(tHelper); ok { |
| 1085 | h.Helper() |
| 1086 | } |
| 1087 | return NoDirExists(a.t, path, msgAndArgs...) |
| 1088 | } |
| 1089 | |
| 1090 | // NoDirExistsf checks whether a directory does not exist in the given path. |
| 1091 | // It fails if the path points to an existing _directory_ only. |
nothing calls this directly
no test coverage detected