compileFunc: prevent compiling multiple times

This commit is contained in:
xushiwei
2024-05-05 21:27:22 +08:00
parent 2bbd828f3a
commit be9d209622
4 changed files with 80 additions and 79 deletions

View File

@@ -29,7 +29,7 @@ func testCompile(t *testing.T, src, expected string) {
}
func TestFromTestrt(t *testing.T) {
cltest.FromDir(t, "intgen", "./_testrt", true)
cltest.FromDir(t, "", "./_testrt", true)
}
func TestFromTestdata(t *testing.T) {