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

Implement require("ast-types").astNodesAreEquivalent for reliably testing deep equivalence of nodes #46

Closed
benjamn opened this issue Jul 15, 2014 · 1 comment · Fixed by #47

Comments

@benjamn
Copy link
Owner

benjamn commented Jul 15, 2014

This logic gets rewritten in most code bases that operate on ASTs, and would be very useful for testing transforms.

cc @thedekel @jeffmo

@jeffmo
Copy link
Contributor

jeffmo commented Jul 15, 2014

+1

benjamn added a commit that referenced this issue Jul 16, 2014
The most interesting bit is the optional path tracking to improve
astNodesAreEquivalent.assert error messages.

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

Successfully merging a pull request may close this issue.

2 participants