mirror of https://github.com/ledisdb/ledisdb.git
remove 'FlushDB' from test
This commit is contained in:
parent
10dc7ccd15
commit
68b28fe656
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue