mirror of
https://github.com/gofiber/storage.git
synced 2025-10-05 16:48:25 +08:00
Fix path to rueidis dir. Format code
This commit is contained in:
@@ -64,9 +64,7 @@ func Test_Rueidis_Set_Expiration(t *testing.T) {
|
||||
}
|
||||
|
||||
func Test_Rueidis_Get_Expired(t *testing.T) {
|
||||
var (
|
||||
key = "john"
|
||||
)
|
||||
key := "john"
|
||||
|
||||
result, err := testStore.Get(key)
|
||||
utils.AssertEqual(t, nil, err)
|
||||
@@ -97,9 +95,7 @@ func Test_Rueidis_Delete(t *testing.T) {
|
||||
}
|
||||
|
||||
func Test_Rueidis_Reset(t *testing.T) {
|
||||
var (
|
||||
val = []byte("doe")
|
||||
)
|
||||
val := []byte("doe")
|
||||
|
||||
err := testStore.Set("john1", val, 0)
|
||||
utils.AssertEqual(t, nil, err)
|
||||
|
Reference in New Issue
Block a user