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

chore: fix glob translation with \ at the end #4608

Merged
merged 1 commit into from
Feb 13, 2025
Merged

chore: fix glob translation with \ at the end #4608

merged 1 commit into from
Feb 13, 2025

Conversation

romange
Copy link
Collaborator

@romange romange commented Feb 13, 2025

No description provided.

@romange romange requested a review from kostasrim February 13, 2025 14:16
kostasrim
kostasrim previously approved these changes Feb 13, 2025
@romange romange enabled auto-merge (squash) February 13, 2025 14:35
@romange romange disabled auto-merge February 13, 2025 14:51
disable wrong tests in fakeredis.

Signed-off-by: Roman Gershman <roman@dragonflydb.io>
@@ -610,8 +610,8 @@ def test_keys(r: redis.Redis):
assert r.keys(r"abc[\d]e") == [b"abcde"]
# some escaping cases that redis handles strangely
assert r.keys("abc\\") == [b"abc\\"]
assert r.keys(r"abc[\c-e]e") == []
assert r.keys(r"abc[c-\e]e") == []
# assert r.keys(r"abc[\c-e]e") == [] dragonfly matches abcde
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess the fix will follow in other PR ?

Copy link
Collaborator Author

@romange romange Feb 13, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I plan to keep it as is.

@romange romange merged commit ff7a0d5 into main Feb 13, 2025
10 checks passed
@romange romange deleted the Pr3 branch February 13, 2025 21:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants