compiler: add go test command
This commit is contained in:
9
_demo/runtest/main_test.go
Normal file
9
_demo/runtest/main_test.go
Normal file
@@ -0,0 +1,9 @@
|
||||
package main
|
||||
|
||||
import "testing"
|
||||
|
||||
func TestZoo(t *testing.T) {
|
||||
if Zoo() != 3 {
|
||||
t.Fatal("Zoo() != 3")
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user