(t *testing.T, err error)
| 2156 | } |
| 2157 | |
| 2158 | func assertNoError(t *testing.T, err error) { |
| 2159 | if err != nil { |
| 2160 | failWithFailure(t, nil, err) |
| 2161 | } |
| 2162 | |
| 2163 | } |
| 2164 | |
| 2165 | func assertError(t *testing.T, err error, errorMessage string) { |
| 2166 | if err == nil { |
no test coverage detected