TestFromTestgo
This commit is contained in:
@@ -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)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user