MCPcopy Create free account
hub / github.com/remotemobprogramming/mob / assertNoError

Function assertNoError

mob_test.go:2158–2163  ·  view source on GitHub ↗
(t *testing.T, err error)

Source from the content-addressed store, hash-verified

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

Calls 1

failWithFailureFunction · 0.70

Tested by

no test coverage detected