Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce a new test helper function: tryExecCardanoCLI
This is meant as a way to assert on *expected failures*! Sadly, `try` or other exception handling mechanisms do not work inside of the `TestT` monad, so I had to extract and lift the error to be able to catch it and assert on it. Yet, I need to assert on failures and thus, failures should not crash the test early but be assertable as a possible execution outcome. There's maybe something more clever to do but I only had a day and a half to spend on all this so I'd rather "get it done".
- Loading branch information