fix llgo test unit test

This commit is contained in:
Li Jie
2025-04-03 16:20:09 +08:00
parent 8c5f915569
commit c8d791f206
9 changed files with 6 additions and 7 deletions

View File

@@ -0,0 +1,5 @@
package bar
func Bar() int {
return 2
}

View File

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