Check that err == nil
(t *testing.T, err error)
| 59 | |
| 60 | // Check that err == nil |
| 61 | func assertNoError(t *testing.T, err error) { |
| 62 | if err != nil { |
| 63 | t.Errorf("%s", err) |
| 64 | } |
| 65 | } |
| 66 | |
| 67 | // Check that err != nil |
| 68 | func assertWithError(t *testing.T, err error) { |
no outgoing calls
no test coverage detected