Skip to content

impl PartialEq for HandlerError #43

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

Merged
merged 2 commits into from
Dec 11, 2018

Conversation

softprops
Copy link
Contributor

Issue #, if available:

Description of changes:

While making some attempts to sketch out what unit testing might look like for this project I quickly realized that the core user interface, Handler, does not lend itself well to the out of the box testing interfaces, like assert_eq! because Handler results can yield HandlerErrors which do not implement PartialEq. I realize HandlerError is in a bit in flux but I think we should still have a basic store for unit testability with Rust's default toolchain.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@davidbarsky
Copy link
Contributor

Thanks! This is a solid fix.

@davidbarsky davidbarsky merged commit 3b7ce41 into awslabs:master Dec 11, 2018
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