tencent/main_test.go

24 lines
361 B
Go
Raw Normal View History

2024-12-20 18:35:59 +08:00
package tencent_test
import (
"fmt"
"testing"
_ "apigo.cc/cloud/tencent"
"apigo.cc/gojs"
_ "apigo.cc/gojs/console"
"github.com/ssgo/u"
)
func TestHash(t *testing.T) {
gojs.ExportForDev()
r, err := gojs.RunFile("main_test.js")
if err != nil {
t.Fatal(err)
} else if r != true {
t.Fatal(r)
} else {
fmt.Println(u.BGreen("test succeess"))
}
}