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

Method NoFileExistsf

require/require_forward.go:1137–1142  ·  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

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

Callers

nothing calls this directly

Calls 2

NoFileExistsfFunction · 0.70
HelperMethod · 0.65

Tested by

no test coverage detected