unit test
This commit is contained in:
parent
931e573f52
commit
ab24e1b6d9
|
@ -21,6 +21,14 @@ import (
|
|||
"testing"
|
||||
)
|
||||
|
||||
func TestGetCrossPlatforms(t *testing.T) {
|
||||
crossPlatforms := Go.GetCrossPlatforms()
|
||||
|
||||
if len(crossPlatforms) < 1 {
|
||||
t.Error("should have one platform at least")
|
||||
}
|
||||
}
|
||||
|
||||
func TestGetAPIPath(t *testing.T) {
|
||||
apiPath := Go.GetAPIPath()
|
||||
|
||||
|
|
Loading…
Reference in New Issue