|
@ -37,8 +37,8 @@ sample conf should be |
|
|
*/ |
|
|
*/ |
|
|
|
|
|
|
|
|
func TestGenerateMysqlConf(t *testing.T) { |
|
|
func TestGenerateMysqlConf(t *testing.T) { |
|
|
var conf MySqlConf |
|
|
|
|
|
conf = append(conf, MySqlInstConf{ |
|
|
|
|
|
|
|
|
var conf []MySqlConf |
|
|
|
|
|
conf = append(conf, MySqlConf{ |
|
|
User: "root", |
|
|
User: "root", |
|
|
Password: "root", |
|
|
Password: "root", |
|
|
HostName: "localhost", |
|
|
HostName: "localhost", |
|
|