Files
anydb/main_test.go
Thomas von Dein 83f818450c lots of changes:
- added man command
- added unit tests
- fixed import+export file parameters (now -o and -r respectively)
- added README + License
- added ci pipelines
2024-12-18 18:44:23 +01:00

21 lines
286 B
Go

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",
})
}