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

Method False

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

Source from the content-addressed store, hash-verified

124 return true
125}
126func (a fatal) False(t *testing.T, value bool, msgAndArgs ...interface{}) {
127 t.Helper()
128 if value {
129 a.fail(t, "expected false, got true")
130 }
131}
132
133func (a nonfatal) NoError(t *testing.T, err error, msgAndArgs ...interface{}) bool {
134 t.Helper()

Callers 5

TestSimpleExampleFunction · 0.45
TestIsMSISliceFunction · 0.45
TestIsObjxMapSliceFunction · 0.45
TestExcludeFunction · 0.45
TestHasFunction · 0.45

Calls 1

failMethod · 0.95

Tested by

no test coverage detected