-
-
Notifications
You must be signed in to change notification settings - Fork 306
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
Error messages for notEqual and notDeepEqual never display the expected value. #453
Comments
Can you provide specific repro code? |
Oh, sorry. I wasn't sure it was worth including a one-liner. Actually, since you guys clearly don't care about the quality of your error output at all, I wasn't sure if anyone would even respond. Here's a full reproduction (and a pull request which brings it inline with notDeepLooseEqual).
|
Wow, there's really no need to be hostile - we care about the quality of our error output very much. |
If you have a six-year-old test harness code base where nobody has ever manually inspected the output of |
Again, no need to be hostile. If you never wrote your code incorrectly such that you saw that error output, how would you know it’s quality wasn’t up to snuff? As for this codebase, humans make mistakes - and that has zero bearing on “what they care about”. Hostile talk is very expensive; please conduct yourself appropriately and professionally. |
Any failing tests with
t.notEqual
ort.notDeepEqual
always show the expected value asundefined
because they return a result with anotExpected
property (which is totally ignored) instead of theexpected
property which_assert
actually looks at.The text was updated successfully, but these errors were encountered: