Files
mautrix-telegram/pkg/gotd/cmd/rsagen/main_test.go
T
2025-06-27 20:03:37 -07:00

28 lines
388 B
Go

//go:build linux
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{
"rsagen": func() int {
if err := run(); err != nil {
return 1
}
return 0
},
}))
}
func TestScript(t *testing.T) {
testscript.Run(t, testscript.Params{
Dir: "testdata",
})
}