(t *testing.T, err error)
| 177 | } |
| 178 | |
| 179 | func ExpectNoError(t *testing.T, err error) { |
| 180 | t.Helper() |
| 181 | if err != nil { |
| 182 | t.Errorf("unexpected error '%v'", err) |
| 183 | } |
| 184 | } |
| 185 | |
| 186 | func ExpectNotPanic(t *testing.T, f func()) { |
| 187 | t.Helper() |
no outgoing calls