Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Lin: Print commands that trigger unexpected exceptions
The standard QCheck mechanism to catch exceptions that are raised in tests do not give much clues about the source (ie Lin command) of that exception So this creates a specific Unexpected_exception that will pack the command along with the original exception so that it can be explained when the tests errors out Before: ``` exception Invalid_argument("Bytes.blit") ``` After: ``` exception Invalid_argument("Bytes.blit") unexpected in command Buffer.add_string t "" ```
- Loading branch information