TestFromTestgo

This commit is contained in:
xushiwei
2024-05-24 10:01:41 +08:00
parent 7c003e9e7a
commit 937e55eb46
2 changed files with 4 additions and 4 deletions

View File

@@ -28,10 +28,6 @@ func testCompile(t *testing.T, src, expected string) {
cltest.TestCompileEx(t, src, "foo.go", expected) cltest.TestCompileEx(t, src, "foo.go", expected)
} }
func TestFromTestgo(t *testing.T) {
cltest.FromDir(t, "", "./_testgo", false)
}
func TestFromTestpy(t *testing.T) { func TestFromTestpy(t *testing.T) {
cltest.FromDir(t, "", "./_testpy", false) cltest.FromDir(t, "", "./_testpy", false)
} }

View File

@@ -25,6 +25,10 @@ import (
"github.com/goplus/llgo/ssa/ssatest" "github.com/goplus/llgo/ssa/ssatest"
) )
func TestFromTestgo(t *testing.T) {
cltest.FromDir(t, "", "../cl/_testgo", false)
}
func TestFromTestpy(t *testing.T) { func TestFromTestpy(t *testing.T) {
cltest.FromDir(t, "", "../cl/_testpy", false) cltest.FromDir(t, "", "../cl/_testpy", false)
} }