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

Method False

internal/testify/assert/assertion_forward.go:438–443  ·  view source on GitHub ↗

False asserts that the specified value is false. a.False(myBool)

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

Source from the content-addressed store, hash-verified

436//
437// a.False(myBool)
438func (a *Assertions) False(value bool, msgAndArgs ...interface{}) bool {
439 if h, ok := a.t.(tHelper); ok {
440 h.Helper()
441 }
442 return False(a.t, value, msgAndArgs...)
443}
444
445// Falsef asserts that the specified value is false.
446//

Callers 15

TestFalseWrapperFunction · 0.45
TestNoErrorWrapperFunction · 0.45
TestErrorWrapperFunction · 0.45
TestErrorContainsWrapperFunction · 0.45
TestEqualErrorWrapperFunction · 0.45
TestEmptyWrapperFunction · 0.45
TestNotEmptyWrapperFunction · 0.45
TestLenWrapperFunction · 0.45
TestZeroWrapperFunction · 0.45
TestNotZeroWrapperFunction · 0.45
TestHTTPSuccessFunction · 0.45

Calls 2

FalseFunction · 0.70
HelperMethod · 0.45

Tested by 15

TestFalseWrapperFunction · 0.36
TestNoErrorWrapperFunction · 0.36
TestErrorWrapperFunction · 0.36
TestErrorContainsWrapperFunction · 0.36
TestEqualErrorWrapperFunction · 0.36
TestEmptyWrapperFunction · 0.36
TestNotEmptyWrapperFunction · 0.36
TestLenWrapperFunction · 0.36
TestZeroWrapperFunction · 0.36
TestNotZeroWrapperFunction · 0.36
TestHTTPSuccessFunction · 0.36