Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use expectations in contracts #61

Open
jackfirth opened this issue Aug 31, 2017 · 0 comments
Open

Use expectations in contracts #61

jackfirth opened this issue Aug 31, 2017 · 0 comments

Comments

@jackfirth
Copy link
Owner

It should be possible to construct a flat contract from an expectation. The contract should have a first order check that applies the expectation and it should raise errors with messages that only display relevant information in a manner similar to expect!. The blame-add-context function ought to be useful here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant