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

Method NoFileExistsf

assert/assertion_forward.go:1136–1141  ·  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.

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

Source from the content-addressed store, hash-verified

1134// NoFileExistsf checks whether a file does not exist in a given path. It fails
1135// if the path points to an existing _file_ only.
1136func (a *Assertions) NoFileExistsf(path string, msg string, args ...interface{}) bool {
1137 if h, ok := a.t.(tHelper); ok {
1138 h.Helper()
1139 }
1140 return NoFileExistsf(a.t, path, msg, args...)
1141}
1142
1143// NotContains asserts that the specified string, list(array, slice...) or map does NOT contain the
1144// specified substring or element.

Callers

nothing calls this directly

Calls 2

NoFileExistsfFunction · 0.70
HelperMethod · 0.65

Tested by

no test coverage detected