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

issue with ZRANGE and ZRANGESTORE with BYLEX. #203

Closed
cunla opened this issue Jun 17, 2023 · 0 comments · Fixed by #214
Closed

issue with ZRANGE and ZRANGESTORE with BYLEX. #203

cunla opened this issue Jun 17, 2023 · 0 comments · Fixed by #214
Labels
bug Something isn't working

Comments

@cunla
Copy link
Owner

cunla commented Jun 17, 2023

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"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant