bugfix for test dump

This commit is contained in:
siddontang 2014-10-23 13:34:12 +08:00
parent d442a3b185
commit 4db3dbb6f5
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ func TestDump(t *testing.T) {
cfgS := config.NewConfigDefault()
cfgS.DataDir = "/tmp/test_ledis_slave"
os.RemoveAll(cfgM.DataDir)
os.RemoveAll(cfgS.DataDir)
var slave *Ledis
if slave, err = Open(cfgS); err != nil {