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

Fix failing tests in Node 10 caused by wrong sort option type #142

Merged
merged 1 commit into from
May 3, 2018

Conversation

dubzzz
Copy link
Contributor

@dubzzz dubzzz commented May 2, 2018

The sort parameter used in tests added #138 was using the wrong type: boolean instead of false or function.

It caused an issue when running tests against node 10 in travis.

@dubzzz
Copy link
Contributor Author

dubzzz commented May 2, 2018

@sindresorhus Sorry for this problem. It seems that calling sort with a true as a comparison function was not causing any issues before Node 10. Just fixed the tests to have the correct entries.

@sindresorhus sindresorhus merged commit 61fbada into sindresorhus:master May 3, 2018
@sindresorhus
Copy link
Owner

👌

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.

2 participants