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 order of assertion parameters #2825

Merged
merged 1 commit into from
Feb 27, 2020
Merged

Conversation

ppenicka
Copy link
Contributor

In the unit test for _.max() several assertions had the 'actual' and 'expected' parameters swapped. Fixed it yields the same result, but looks more consistent and potentially less confusing (a colleague actually got confused by this and we spent some time figuring out if there's a specific reason for them being swapped, concluding there isn't - hence this PR).

@jashkenas
Copy link
Owner

Thanks for the cleanup!

@jashkenas jashkenas merged commit b308ae3 into jashkenas:master Feb 27, 2020
jgonggrijp added a commit to jgonggrijp/underscore that referenced this pull request Mar 29, 2020
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