UT case fix

This commit is contained in:
霍晓栋 2016-08-31 11:55:02 +08:00
parent b0035747e3
commit e7b237c8da

View file

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