MCPcopy Create free account
hub / github.com/daodst/chat / assertNoError

Function assertNoError

internal/sqlutil/sqlutil_test.go:167–173  ·  view source on GitHub ↗
(t *testing.T, err error, msg string)

Source from the content-addressed store, hash-verified

165}
166
167func assertNoError(t *testing.T, err error, msg string) {
168 t.Helper()
169 if err == nil {
170 return
171 }
172 t.Fatalf(msg)
173}

Calls

no outgoing calls

Tested by

no test coverage detected