refactor ci test

This commit is contained in:
fatedier
2018-07-11 23:27:47 +08:00
parent 42ee536dae
commit 0d02f291e3
13 changed files with 240 additions and 186 deletions

9
tests/config/config.go Normal file
View File

@@ -0,0 +1,9 @@
package util
import (
"io/ioutil"
)
func GenerateConfigFile(path string, content string) error {
return ioutil.WriteFile(path, []byte(content), 0666)
}