Skip to content

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