Closed komuw closed 4 weeks ago
I can't think of an easy way to write a unit test for this so I didn't.
friendly ping @akshayjshah
Sorry for the long delay. The best way to test this is to add an error with a Format
method. I pushed a commit to your branch to add some tests - take a look if you're curious!
Thanks for the contribution, and for reminding me to review this PR.
This is included in v1.1.0, which I just tagged. Thanks again for the contribution, @komuw!
This will print extra error details(like stack traces) for errors that happen to have them
Closes: https://github.com/akshayjshah/attest/issues/16