-
Notifications
You must be signed in to change notification settings - Fork 553
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
Handling empty response TryReadStringArrayWithLengthHeader #1009
base: main
Are you sure you want to change the base?
Conversation
You can run "dotnet format" and commit the result to pass the formatter. |
@prvyk Thanks, I've updated it. I created the PR by editing in github itself, not sure why the extra line crept up. |
@@ -354,6 +354,22 @@ public async Task CanUseSetNxStringResultAsync() | |||
ClassicAssert.AreEqual("Hello", resultMykey); | |||
} | |||
|
|||
[Test] | |||
public async Task ShouldNotThrowExceptionForEmptyArrayResponse() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you resolve the warning here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Kept the async pattern to match pattern in rest of the tests. Used async connection.
fixes #1008