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

Fix return type of iter in test_filtered_scanning #611

Merged
merged 1 commit into from May 17, 2022

Conversation

valkum
Copy link
Contributor

@valkum valkum commented May 17, 2022

#608 changes the iter behavior makes these wrong assumed types now causing tests to fail.

The correct return type for HSCAN is (String, usize) as the field name is returned along the value of that field.

The test incorrectly assumed HSCAN returns a vec of usize, whereas HSCAN
returns the field value pairs.
@djc djc merged commit 8b83bdc into redis-rs:yield-nested-parse-errors May 17, 2022
@djc
Copy link
Contributor

djc commented May 17, 2022

Awesome, thanks for fixing this!

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