MCPcopy Create free account
hub / github.com/araddon/qlbridge / exitIfErr

Function exitIfErr

datasource/sqlite/sqlite_test.go:36–40  ·  view source on GitHub ↗
(err error)

Source from the content-addressed store, hash-verified

34)
35
36func exitIfErr(err error) {
37 if err != nil {
38 panic(err.Error())
39 }
40}
41func LoadTestDataOnce(t *testing.T) {
42 loadData.Do(func() {
43 testutil.Setup()

Callers 1

LoadTestDataOnceFunction · 0.85

Calls 1

ErrorMethod · 0.45

Tested by

no test coverage detected