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

Add .expected and .actual properties to Errors #13

Open
kevinoid opened this issue Feb 4, 2016 · 2 comments
Open

Add .expected and .actual properties to Errors #13

kevinoid opened this issue Feb 4, 2016 · 2 comments

Comments

@kevinoid
Copy link

kevinoid commented Feb 4, 2016

It would be great if the errors thrown by assume could include an .expected and .actual property, where applicable. These properties are used by some test frameworks (like Mocha) and are currently provided by Node assert, Chai, Should.js and likely other assertion libraries.

Thanks for considering,
Kevin

@jcrugzz
Copy link
Member

jcrugzz commented Feb 5, 2016

This seems reasonable. What do you think @3rd-Eden @Swaagie?

@Swaagie
Copy link
Member

Swaagie commented Feb 8, 2016

Sounds good to me, PR's are welcomed

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

No branches or pull requests

3 participants