Method
NoError
(t *testing.T, err error, msgAndArgs ...interface{})
Source from the content-addressed store, hash-verified
| 131 | } |
| 132 | |
| 133 | func (a nonfatal) NoError(t *testing.T, err error, msgAndArgs ...interface{}) bool { |
| 134 | t.Helper() |
| 135 | if err != nil { |
| 136 | return a.fail(t, "expected no error, got: %v", err) |
| 137 | } |
| 138 | return true |
| 139 | } |
| 140 | func (a fatal) NoError(t *testing.T, err error, msgAndArgs ...interface{}) { |
| 141 | t.Helper() |
| 142 | if err != nil { |
Callers
nothing calls this directly
Tested by
no test coverage detected