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