textin/textin_test.go
2024-10-13 12:08:57 +08:00

23 lines
305 B
Go

package textin
import (
"apigo.cc/gojs"
_ "apigo.cc/gojs/file"
"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))
}