Fix path to rueidis dir. Format code

This commit is contained in:
Juan Calderon-Perez
2023-08-15 01:03:23 -04:00
parent ca369ed8d1
commit c739918a1d
3 changed files with 4 additions and 9 deletions

View File

@@ -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)