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

Method False

require/require_forward.go:453–458  ·  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

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

Callers 2

TestSubtestPanicMethod · 0.45
TestFalseWrapperFunction · 0.45

Calls 2

FalseFunction · 0.70
HelperMethod · 0.65

Tested by 2

TestSubtestPanicMethod · 0.36
TestFalseWrapperFunction · 0.36