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

Function Falsef

internal/testify/assert/assertion_format.go:226–231  ·  view source on GitHub ↗

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

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

Source from the content-addressed store, hash-verified

224//
225// assert.Falsef(t, myBool, "error message %s", "formatted")
226func Falsef(t TestingT, value bool, msg string, args ...interface{}) bool {
227 if h, ok := t.(tHelper); ok {
228 h.Helper()
229 }
230 return False(t, value, append([]interface{}{msg}, args...)...)
231}
232
233// FileExistsf checks whether a file exists in the given path. It also fails if
234// the path points to a directory or there is an error when trying to check the file.

Callers 2

FalsefFunction · 0.92
FalsefMethod · 0.70

Calls 2

FalseFunction · 0.70
HelperMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…