MCPcopy
hub / github.com/stretchr/testify / NoDirExistsf

Method NoDirExistsf

assert/assertion_forward.go:1092–1097  ·  view source on GitHub ↗

NoDirExistsf checks whether a directory does not exist in the given path. It fails if the path points to an existing _directory_ only.

(path string, msg string, args ...interface{})

Source from the content-addressed store, hash-verified

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.
1092func (a *Assertions) NoDirExistsf(path string, msg string, args ...interface{}) bool {
1093 if h, ok := a.t.(tHelper); ok {
1094 h.Helper()
1095 }
1096 return NoDirExistsf(a.t, path, msg, args...)
1097}
1098
1099// NoError asserts that a function returned no error (i.e. `nil`).
1100//

Callers

nothing calls this directly

Calls 2

NoDirExistsfFunction · 0.70
HelperMethod · 0.65

Tested by

no test coverage detected