(t *testing.T, value bool, msgAndArgs ...interface{})
| 103 | } |
| 104 | |
| 105 | func (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 | } |
| 112 | func (a fatal) True(t *testing.T, value bool, msgAndArgs ...interface{}) { |
| 113 | t.Helper() |
| 114 | if !value { |