blob: 0bb50a4842b679b6ac22d42e44a246c64901e6db [file] [log] [blame]
package cmd
import (
"os"
"testing"
"github.com/rogpeppe/testscript"
)
func TestScript(t *testing.T) {
testscript.Run(t, testscript.Params{
Dir: "testdata/script",
UpdateScripts: *update,
})
}
func TestMain(m *testing.M) {
os.Exit(testscript.RunMain(m, map[string]func() int{
"cue": Main,
}))
}