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
presumably streams (haven't tested it, but the code looks like it)
Reproducible like so:
# assuming REDIS is an instance of MockRedisirb(main):001:0> REDIS.sadd(:foo,[1,2])=>2irb(main):002:0> REDIS.zadd(:bar,[1,2])=>1irb(main):003:0> REDIS.keys=>[:foo,:bar]irb(main):004:0> REDIS.flushdb=>"OK"irb(main):005:0> REDIS.keys=>[:foo,:bar]
It seems that pretty much everything except hashes (which were fixed in #173) and set are broken this way.
Proposed solution:
extract a convert(key) utility method and wrap each usage of keys
add a separate spec file that test each supported method with string and symbol keys OR add example to each single file
The text was updated successfully, but these errors were encountered:
Follow-up of #170.
The issue mentioned there also applies to other data types:
incr
,incrby
,decr
,decrby
)Reproducible like so:
It seems that pretty much everything except hashes (which were fixed in #173) and
set
are broken this way.Proposed solution:
convert(key)
utility method and wrap each usage of keysThe text was updated successfully, but these errors were encountered: