MCPcopy Create free account
hub / github.com/CovenantSQL/CovenantSQL / TestMain

Function TestMain

sqlchain/xxx_test.go:375–381  ·  view source on GitHub ↗
(m *testing.M)

Source from the content-addressed store, hash-verified

373}
374
375func TestMain(m *testing.M) {
376 os.Exit(func() int {
377 setup()
378 defer teardown()
379 return m.Run()
380 }())
381}
382
383func buildQuery(query string, args ...interface{}) types.Query {
384 var nargs = make([]types.NamedArg, len(args))

Callers

nothing calls this directly

Calls 2

setupFunction · 0.70
teardownFunction · 0.70

Tested by

no test coverage detected