huoshan/textin_test.go

22 lines
282 B
Go
Raw Normal View History

2024-10-02 17:35:29 +08:00
package huoshan
import (
2024-10-13 11:55:28 +08:00
"apigo.cc/gojs"
2024-10-02 17:35:29 +08:00
"fmt"
"github.com/ssgo/u"
"testing"
)
func TestExport(t *testing.T) {
gojs.ExportForDev()
}
func TestLLM(t *testing.T) {
r, err := gojs.RunFile("test.js")
if err != nil {
t.Fatal(err)
}
fmt.Println()
fmt.Println(u.JsonP(r))
}