Skip to content

Conversation

jacobstanley
Copy link
Member

This adds the evaluate :: a -> Test m a function which will evaluate its argument and fail the test if doing so throws an exception. I have updated assert and (===) to both make use of this, so exceptions thrown from pure code should now be reported properly.

This fixes #57 and addresses an issue @tmcdonell raised IRL.

Sorry for the potentially misleading title @erikd, this does not solve #84.

screen shot 2017-07-02 at 10 33 32 am

@jacobstanley jacobstanley merged commit 8763d04 into master Jul 2, 2017
@jacobstanley jacobstanley deleted the topic/exception branch July 2, 2017 01:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Errors in event of exceptions can be more useful
1 participant