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

Function NoFileExistsf

assert/assertion_format.go:570–575  ·  view source on GitHub ↗

NoFileExistsf checks whether a file does not exist in a given path. It fails if the path points to an existing _file_ only.

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

Source from the content-addressed store, hash-verified

568// NoFileExistsf checks whether a file does not exist in a given path. It fails
569// if the path points to an existing _file_ only.
570func NoFileExistsf(t TestingT, path string, msg string, args ...interface{}) bool {
571 if h, ok := t.(tHelper); ok {
572 h.Helper()
573 }
574 return NoFileExists(t, path, append([]interface{}{msg}, args...)...)
575}
576
577// NotContainsf asserts that the specified string, list(array, slice...) or map does NOT contain the
578// specified substring or element.

Callers 2

NoFileExistsfFunction · 0.92
NoFileExistsfMethod · 0.70

Calls 2

NoFileExistsFunction · 0.70
HelperMethod · 0.65

Tested by

no test coverage detected