Skip to content

Add ordered option to API #34

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

Merged
merged 4 commits into from
Sep 13, 2018
Merged

Add ordered option to API #34

merged 4 commits into from
Sep 13, 2018

Conversation

gkellogg
Copy link
Member

@gkellogg gkellogg commented Sep 8, 2018

Use within algorithms. Iterating over object keys uses a lexographical ordering only if this option is set to true.

Update the test README with the comparison algorithm to allow proper comparison if ordered is not set, otherwise, if ordered is set, previous object comparison of test results will continue to work as expected.

Fixes #8.


Preview | Diff

… object keys uses a lexographical ordering only if this option is set to true.

Update the test README with the comparison algorithm to allow proper comparison if `ordered` is not set, otherwise, if `ordered` is set, previous object comparison of test results will continue to work as expected.
@gkellogg gkellogg self-assigned this Sep 8, 2018
@gkellogg gkellogg requested a review from davidlehn September 8, 2018 20:05
@gkellogg gkellogg merged commit 113d2f8 into master Sep 13, 2018
@gkellogg gkellogg deleted the ordering branch September 13, 2018 18:27
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.

1 participant