MCPcopy Index your code
hub / github.com/expr-lang/expr / Falsef

Method Falsef

internal/testify/require/require_forward.go:450–455  ·  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

448//
449// a.Falsef(myBool, "error message %s", "formatted")
450func (a *Assertions) Falsef(value bool, msg string, args ...interface{}) {
451 if h, ok := a.t.(tHelper); ok {
452 h.Helper()
453 }
454 Falsef(a.t, value, msg, args...)
455}
456
457// FileExists checks whether a file exists in the given path. It also fails if
458// 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