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

pool: Correct some test failure paths. #404

Merged

Conversation

davecgh
Copy link
Member

@davecgh davecgh commented Oct 5, 2023

The current tests in the client message handling incorrect reference the fields of a response message in the case the message type isn't the expected type which would be a panic since the instance variable would be nil in that case.

This corrects that by showing the expected and received message types instead.

The current tests in the client message handling incorrect reference the
fields of a response message in the case the message type isn't the
expected type which would be a panic since the instance variable would
be nil in that case.

This corrects that by showing the expected and received message types
instead.
@jholdstock jholdstock merged commit a8faa5a into decred:master Oct 9, 2023
2 checks passed
@davecgh davecgh deleted the pool_correct_test_type_fail_message branch October 9, 2023 13:23
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.

2 participants