You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Debates about whether or not it's appropriate to pass zero-length positional args this way, this is an inconsistency between fakeredis and real redis that bit us today. I would have to assume there are other commands that show similar differences, but I have not yet done an exhaustive search for them.
The text was updated successfully, but these errors were encountered:
Thanks for the report. At the moment I don't have much time to work on fakeredis (and I think neither does @jamesls), so the fastest way to get a fix in is to submit a pull request (with a test case). I'll be happy to review it.
There are almost certainly other similar cases (see #180 for example). If it applies to rpush then most likely it applies to lpush too.
Test case:
Expected output:
Actual output:
Debates about whether or not it's appropriate to pass zero-length positional args this way, this is an inconsistency between fakeredis and real redis that bit us today. I would have to assume there are other commands that show similar differences, but I have not yet done an exhaustive search for them.
The text was updated successfully, but these errors were encountered: