mirror of
https://github.com/gofiber/storage.git
synced 2025-10-05 00:33:03 +08:00
Update leveldb_test.go
This commit is contained in:
@@ -109,7 +109,7 @@ func Test_Reset(t *testing.T) {
|
|||||||
db.Set([]byte("key2"), []byte("value2"), time.Second*1)
|
db.Set([]byte("key2"), []byte("value2"), time.Second*1)
|
||||||
db.Set([]byte("key3"), []byte("value3"), time.Second*1)
|
db.Set([]byte("key3"), []byte("value3"), time.Second*1)
|
||||||
|
|
||||||
db.Reset()
|
require.NoError(t, db.Reset())
|
||||||
|
|
||||||
value, err := db.Get([]byte("key1"))
|
value, err := db.Get([]byte("key1"))
|
||||||
require.Nil(t, err)
|
require.Nil(t, err)
|
||||||
|
Reference in New Issue
Block a user