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

Message not clear enough #157

Open
szydan opened this issue Aug 16, 2016 · 0 comments
Open

Message not clear enough #157

szydan opened this issue Aug 16, 2016 · 0 comments

Comments

@szydan
Copy link

szydan commented Aug 16, 2016

When the assertion fails you get something like

Error: expected 6 to equal 7

Could this be improved a bit to explicitly say which one was the expected and which one was the actual value. Something like:

Error: Expected: [7] Actual: [6]

Sorry maybe for native english speaker the existing message is obvious but for the rest of us it is NOT. I always have to look at the test case to see which one is which. Something small but I believe it would make life easier for a whole bunch of users.
Thanks

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

1 participant