From 4db3dbb6f5d9b07c7fd96356b435d2f96bec8feb Mon Sep 17 00:00:00 2001 From: siddontang Date: Thu, 23 Oct 2014 13:34:12 +0800 Subject: [PATCH] bugfix for test dump --- ledis/dump_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ledis/dump_test.go b/ledis/dump_test.go index 98e4c9e..30c7ba5 100644 --- a/ledis/dump_test.go +++ b/ledis/dump_test.go @@ -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 {