Open LeoNdV001 opened 1 month ago
rdbClient, rdbClientMock = redismock.NewClientMock() // doesn't work rdbClientMock.ExpectScanType(0, "u:*:f", 1000, "zset").SetVal([]string{fmt.Sprintf("u:%d:f", 1)}, 1) // doesn't work rdbClientMock.ExpectScanType(0, "u:*:f", 1000, "zset").SetErr(nil)
redis gives an error: parameters do not match, expectation '[multi]', but call to cmd '[scan 0 match u:*:f count 1000 type zset]'
parameters do not match, expectation '[multi]', but call to cmd '[scan 0 match u:*:f count 1000 type zset]'
redis gives an error:
parameters do not match, expectation '[multi]', but call to cmd '[scan 0 match u:*:f count 1000 type zset]'