MCPcopy
hub / github.com/stretchr/testify / False

Method False

assert/assertion_forward.go:452–457  ·  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

450//
451// a.False(myBool)
452func (a *Assertions) False(value bool, msgAndArgs ...interface{}) bool {
453 if h, ok := a.t.(tHelper); ok {
454 h.Helper()
455 }
456 return False(a.t, value, msgAndArgs...)
457}
458
459// Falsef asserts that the specified value is false.
460//

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.65

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