compiler: add go test command

This commit is contained in:
Li Jie
2024-12-31 10:53:38 +08:00
parent 6b11c100ba
commit 946f304bb2
13 changed files with 127 additions and 17 deletions

View File

@@ -0,0 +1,9 @@
package bar
import "testing"
func TestBar(t *testing.T) {
if Bar() != 2 {
t.Fatal("Bar() != 2")
}
}