remove 'FlushDB' from test

This commit is contained in:
silentsai 2014-05-22 12:53:44 +08:00
parent 10dc7ccd15
commit 68b28fe656
1 changed files with 0 additions and 8 deletions

View File

@ -190,12 +190,4 @@ func TestZSetOrder(t *testing.T) {
if pos, _ := db.ZRevRank(key, bin("e")); int(pos) != 1 {
t.Fatal(pos)
}
if dropCnt, _ := testLedis.FlushDB(); dropCnt <= 0 {
t.Fatal(dropCnt)
}
if n, _ := db.ZCount(key, 0, 0XFFFF); n > 0 {
t.Fatal(n)
}
}