-
Notifications
You must be signed in to change notification settings - Fork 30.4k
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
assert: deepEqual inconsistencies #14441
Comments
What's the expected result? |
@XadillaX In the first case, the expected result is probably that no AssertionError is thrown (which is the behavior in 8.0.0), and certainly that the result of In the second case, I think the behavior of both 8.0.0 ("Maximum call stack size exceeded") and current master branch ( |
Proposed known-issue test for this in #14488 |
PR-URL: nodejs#14491 Fixes: nodejs#14441 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Khaidi Chu <i@2333.moe> Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Seems like #13318 introduced a regression where deep equal objects are now failing.
Two small test cases:
I am not sure if I find the time to look into it in the next few days, so I opened the issue about it.
The text was updated successfully, but these errors were encountered: