(t *testing.T, value bool, msgAndArgs ...interface{})
| 124 | return true |
| 125 | } |
| 126 | func (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 | |
| 133 | func (a nonfatal) NoError(t *testing.T, err error, msgAndArgs ...interface{}) bool { |
| 134 | t.Helper() |
no test coverage detected