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

Function NoDirExistsf

assert/assertion_format.go:548–553  ·  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.

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

Source from the content-addressed store, hash-verified

546// NoDirExistsf checks whether a directory does not exist in the given path.
547// It fails if the path points to an existing _directory_ only.
548func NoDirExistsf(t TestingT, path string, msg string, args ...interface{}) bool {
549 if h, ok := t.(tHelper); ok {
550 h.Helper()
551 }
552 return NoDirExists(t, path, append([]interface{}{msg}, args...)...)
553}
554
555// NoErrorf asserts that a function returned no error (i.e. `nil`).
556//

Callers 2

NoDirExistsfFunction · 0.92
NoDirExistsfMethod · 0.70

Calls 2

NoDirExistsFunction · 0.70
HelperMethod · 0.65

Tested by

no test coverage detected