Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
convert: Test the exact error message strings
Producing intuitive error messages is part of the contract of this package, so we should test exactly the error messages we're returning rather than just whether conversion succeeded or not. This exposed some cases where we _aren't_ producing good error messages today, which are for the moment marked as FIXME because the purpose of this change is just to improve the coverage of the test and not to change any observable behavior.
- Loading branch information
1 parent
afd4db1
commit 82eaa67
Showing
1 changed file
with
63 additions
and
30 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