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

refactor json equal function and add more tests #2

Merged
merged 2 commits into from
Sep 18, 2015

Conversation

junyulah
Copy link
Contributor

refactor json equal function and add more tests

let nextPath = (path, next) => path === "" ? next : path + "." + next;
let joinRes = (res, json1, json2, path) => res ? { pass: true } : { pass: false, path, json1, json2 };
// used as a unique object for exception
let $maxDept = {};
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo Dept, should be Depth

ysmood added a commit that referenced this pull request Sep 18, 2015
refactor json equal function and add more tests
@ysmood ysmood merged commit 42bebf9 into ysmood:master Sep 18, 2015
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

Successfully merging this pull request may close these issues.

None yet

2 participants