Closed WKBae closed 6 months ago
thanks! I'll also add a test in ./integration/. Or you can do that, doesn't matter :)
Didn't seem hard, I've added a commit.
The former integration test that probably meant SRANDMEMBER nosuch
seems to ran SPOP
. It is also corrected in the commit.
Thanks! Merged, will make it a new release in a few days.
https://redis.io/docs/latest/commands/srandmember/ SRANDMEMBER with
count
returns an empty array if the key does not exist. Updated the implementation and added test for this case.