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

Function False

internal/testify/require/require.go:548–556  ·  view source on GitHub ↗

False asserts that the specified value is false. assert.False(t, myBool)

(t TestingT, value bool, msgAndArgs ...interface{})

Source from the content-addressed store, hash-verified

546//
547// assert.False(t, myBool)
548func False(t TestingT, value bool, msgAndArgs ...interface{}) {
549 if h, ok := t.(tHelper); ok {
550 h.Helper()
551 }
552 if assert.False(t, value, msgAndArgs...) {
553 return
554 }
555 t.FailNow()
556}
557
558// Falsef asserts that the specified value is false.
559//

Callers 6

TestAsBool_exposed_errorFunction · 0.92
TestType_EqualFunction · 0.92
TestIssue730_evalFunction · 0.92
FalseMethod · 0.70
TestFalseFunction · 0.70

Calls 3

FalseFunction · 0.92
FailNowMethod · 0.65
HelperMethod · 0.45

Tested by 5

TestAsBool_exposed_errorFunction · 0.74
TestType_EqualFunction · 0.74
TestIssue730_evalFunction · 0.74
TestFalseFunction · 0.56

Used in the wild real call sites across dependent graphs

searching dependent graphs…