MCPcopy Index your code
hub / github.com/CovenantSQL/CovenantSQL / ensureSuccess

Function ensureSuccess

sqlchain/observer/observation_test.go:244–250  ·  view source on GitHub ↗
(v interface{}, err error)

Source from the content-addressed store, hash-verified

242}
243
244func ensureSuccess(v interface{}, err error) interface{} {
245 if err != nil {
246 debug.PrintStack()
247 }
248 So(err, ShouldBeNil)
249 return v
250}
251
252func TestFullProcess(t *testing.T) {
253 log.SetLevel(log.DebugLevel)

Callers 2

getJSONFunction · 0.85
TestFullProcessFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected