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: wrong assertion types #925

Merged
merged 1 commit into from
Feb 14, 2017
Merged

Conversation

meeber
Copy link
Contributor

@meeber meeber commented Jan 30, 2017

BREAKING CHANGE: .change, .increase, and .decrease changed from
Chainable Method Assertions to Method Assertions. They don't have any
chaining behavior, and there's no generic semantic benefit to chaining
them.

Fixes #917

Note: If this is merged, #920 needs to be updated in order to remove verbiage about chaining behavior.

Copy link
Member

@vieiralucas vieiralucas left a comment

Choose a reason for hiding this comment

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

LGTM

Should we consider this a breaking change?

BREAKING CHANGE: `.change`, `.increase`, and `.decrease` changed from
Chainable Method Assertions to Method Assertions. They don't have any
chaining behavior, and there's no generic semantic benefit to chaining
them.
@meeber meeber force-pushed the fix-assertion-types branch from d75c6c7 to 56a81ea Compare February 1, 2017 22:03
@meeber
Copy link
Contributor Author

meeber commented Feb 1, 2017

@vieiralucas Good point! I've updated the commit message.

@lucasfcosta
Copy link
Member

LGTM too! Well done @meeber!

Also, let's not forget to update #920.

@lucasfcosta lucasfcosta merged commit a7e1200 into chaijs:master Feb 14, 2017
@meeber meeber deleted the fix-assertion-types branch August 6, 2017 13:49
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.

3 participants