You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge #417: Add support for writing integration tests that fail
ab79593 Use DescError instead of miniscript::Error (kanishk779)
b446ced Add support for writing integration tests that fail (kanishk779)
Pull request description:
- Earlier we did not have the ability to write integration tests that fail.
- The default behaviour was to panic and stop the execution of the program.
- But in addition to verifying that the code works in the correct cases, we must also ensure that it should generate an appropriate error in incorrect cases.
- Some functions are modified to return Result<T, E> to support this feature.
- Four failing tests have also been added (tests 10-13) to demonstrate this.
ACKs for top commit:
sanket1729:
ACK ab79593
Tree-SHA512: 2f0800194c06325cd32fc81988f88989d412c4d0164d8d3f2105068a16db22a3e25fcdefe9f1c7736739faf765fb1e8adc850f9c524e7dec7c89af4dcca22e47
0 commit comments