package main import ( "os" "testing" "github.com/rogpeppe/go-internal/testscript" ) func TestMain(m *testing.M) { os.Exit(testscript.RunMain(m, map[string]func() int{ "anydb": Main, })) } func TestAnydb(t *testing.T) { testscript.Run(t, testscript.Params{ Dir: "t", }) }