mirror of
https://codeberg.org/scip/tablizer.git
synced 2025-12-16 12:10:57 +01:00
deprecate testscript.RunMain()
This commit is contained in:
@@ -1,16 +1,15 @@
|
||||
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{
|
||||
"tablizer": Main,
|
||||
}))
|
||||
testscript.Main(m, map[string]func(){
|
||||
"tablizer": main,
|
||||
})
|
||||
}
|
||||
|
||||
func TestTablizer(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user