redis-rb / redis-client

Simple low level client for Redis 6+
MIT License
124 stars 60 forks source link

Add unit test/comment for multi/exec handling #179

Closed stanhu closed 8 months ago

stanhu commented 8 months ago

In a mulit/exec command, the results of call_pipelined can be an array. It was not obvious to me this was handled outside of the ConnectionMixin. This commit adds a unit test to ensure the commands for an error are stored properly in this case and a comment mentioning that the results are handled in Multi#_coerce!.