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

Cleanup assertion descriptions for _.initial() #2358

Merged
merged 1 commit into from
Nov 24, 2015

Conversation

captbaritone
Copy link
Collaborator

No description provided.

assert.deepEqual(_.initial([1, 2, 3, 4], 2), [1, 2], 'initial can take an index');
assert.deepEqual(_.initial([1, 2, 3, 4], 6), [], 'initial can take a large index');
assert.deepEqual(_.initial([1, 2, 3, 4, 5]), [1, 2, 3, 4], 'returns all but the last element');
assert.deepEqual(_.initial([1, 2, 3, 4], 2), [1, 2], 'return all but the last n elements');
Copy link
Collaborator

Choose a reason for hiding this comment

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

"returns"

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Fixed.

jridgewell added a commit that referenced this pull request Nov 24, 2015
Cleanup assertion descriptions for _.initial()
@jridgewell jridgewell merged commit 19b1e46 into jashkenas:master Nov 24, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants