MCPcopy Create free account
hub / github.com/stretchr/objx / False

Method False

std_assert_test.go:119–125  ·  view source on GitHub ↗
(t *testing.T, value bool, msgAndArgs ...interface{})

Source from the content-addressed store, hash-verified

117}
118
119func (a nonfatal) False(t *testing.T, value bool, msgAndArgs ...interface{}) bool {
120 t.Helper()
121 if value {
122 return a.fail(t, "expected false, got true")
123 }
124 return true
125}
126func (a fatal) False(t *testing.T, value bool, msgAndArgs ...interface{}) {
127 t.Helper()
128 if value {

Callers

nothing calls this directly

Calls 1

failMethod · 0.95

Tested by

no test coverage detected