test(build):case with llgo test ./...
This commit is contained in:
13
test/bar/bar_test.go
Normal file
13
test/bar/bar_test.go
Normal file
@@ -0,0 +1,13 @@
|
||||
package bar_test
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/goplus/llgo/test/bar"
|
||||
)
|
||||
|
||||
func TestBar(t *testing.T) {
|
||||
if bar.Bar() != 2 {
|
||||
t.Fatal("Bar() != 2")
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user