-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(tests): also match on the mapped errors
The tests are setup to verify that a specific error is returned for a specific failure condition. With the associated type in the trait, we do not know the Error implementation type, and therefore map it into a catch-all "Signing" variant. To not break the tests, we extract the expected errors out of the enum variant when matching.
- Loading branch information
Showing
1 changed file
with
17 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters