go-redis / redismock

Redis client Mock
https://redis.uptrace.dev
BSD 2-Clause "Simplified" License
271 stars 59 forks source link

ExpectSet does not work correctly in redismock-v8 #80

Closed YumikoKawaii closed 9 months ago

YumikoKawaii commented 9 months ago

i'm using mockClient like this: mock.ExpectSet(data.key, bytes, 1*time.Second) then got something like this: parameters do not match, expectation '[set app_id [some_value] ex 1]', but call to cmd '[set app_id [value]]