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

Method True

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

Source from the content-addressed store, hash-verified

103}
104
105func (a nonfatal) True(t *testing.T, value bool, msgAndArgs ...interface{}) bool {
106 t.Helper()
107 if !value {
108 return a.fail(t, "expected true, got false")
109 }
110 return true
111}
112func (a fatal) True(t *testing.T, value bool, msgAndArgs ...interface{}) {
113 t.Helper()
114 if !value {

Callers

nothing calls this directly

Calls 1

failMethod · 0.95

Tested by

no test coverage detected