issue with `ZRANGE` and `ZRANGESTORE` with `BYLEX`.
cunla opened this issue · comments
Daniel M commented
Describe the bug
BYLEX
does not work as expected. See test_zrangestore
:
# TODO: fix
assert r.zrange("a", "[a2", "(a3", bylex=True, offset=0, num=1) == [b"a2"]
assert r.zrangestore("b", "a", "[a2", "(a3", bylex=True, offset=0, num=1)
assert r.zrange("b", 0, -1) == [b"a2"]