Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Raise error if passing empty array to mget #191

Merged
merged 1 commit into from Jun 25, 2020
Merged

Raise error if passing empty array to mget #191

merged 1 commit into from Jun 25, 2020

Conversation

hieuk09
Copy link
Contributor

@hieuk09 hieuk09 commented Jun 22, 2020

  • With redis
Redis.new.mget([])
# => raise Redis::CommandError: ERR wrong number of arguments for 'mget' command
  • With mock_redis
MockRedis.new.mget([])
# => []

@sds sds added the bug label Jun 25, 2020
@sds sds merged commit 5466af8 into sds:master Jun 25, 2020
@sds
Copy link
Owner

sds commented Jun 25, 2020

Thanks!

@hieuk09 hieuk09 deleted the bug/mget-error branch June 25, 2020 05:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants