MCPcopy
hub / github.com/expr-lang/expr / Falsef

Method Falsef

internal/testify/assert/assertion_forward.go:448–453  ·  view source on GitHub ↗

Falsef asserts that the specified value is false. a.Falsef(myBool, "error message %s", "formatted")

(value bool, msg string, args ...interface{})

Source from the content-addressed store, hash-verified

446//
447// a.Falsef(myBool, "error message %s", "formatted")
448func (a *Assertions) Falsef(value bool, msg string, args ...interface{}) bool {
449 if h, ok := a.t.(tHelper); ok {
450 h.Helper()
451 }
452 return Falsef(a.t, value, msg, args...)
453}
454
455// FileExists checks whether a file exists in the given path. It also fails if
456// the path points to a directory or there is an error when trying to check the file.

Callers

nothing calls this directly

Calls 2

FalsefFunction · 0.70
HelperMethod · 0.45

Tested by

no test coverage detected