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

Function False

internal/testify/assert/assertions.go:827–837  ·  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

825//
826// assert.False(t, myBool)
827func False(t TestingT, value bool, msgAndArgs ...interface{}) bool {
828 if value {
829 if h, ok := t.(tHelper); ok {
830 h.Helper()
831 }
832 return Fail(t, "Should be false", msgAndArgs...)
833 }
834
835 return true
836
837}
838
839// NotEqual asserts that the specified values are NOT equal.
840//

Callers 15

TestValue_nilFunction · 0.92
TestUnsafePointersFunction · 0.92
FalseFunction · 0.92
FalsefFunction · 0.70
TestInDeltaWrapperFunction · 0.70
TestInEpsilonWrapperFunction · 0.70
TestRegexpWrapperFunction · 0.70
TestFalseFunction · 0.70
Test_containsElementFunction · 0.70
TestNoErrorFunction · 0.70
TestErrorFunction · 0.70
TestEqualErrorFunction · 0.70

Calls 2

FailFunction · 0.70
HelperMethod · 0.45

Tested by 15

TestValue_nilFunction · 0.74
TestUnsafePointersFunction · 0.74
TestInDeltaWrapperFunction · 0.56
TestInEpsilonWrapperFunction · 0.56
TestRegexpWrapperFunction · 0.56
TestFalseFunction · 0.56
Test_containsElementFunction · 0.56
TestNoErrorFunction · 0.56
TestErrorFunction · 0.56
TestEqualErrorFunction · 0.56
TestErrorContainsFunction · 0.56
Test_isEmptyFunction · 0.56

Used in the wild real call sites across dependent graphs

searching dependent graphs…