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 missing msg argument for change related assertions #606

Merged
merged 2 commits into from
Feb 1, 2016

Conversation

lucasfcosta
Copy link
Member

As I was reading the code to solve #544 I found out the message parameter for change related methods (increases, decreases, etc...) on the assert interface wasn't being used at all.

I also took a look at chai's docs just to make sure it should be used.

@keithamus
Copy link
Member

Looks great, but could you also please change the doc strings above each method to reflect the change? The doc strings above are used to generate the site documentation so it'd be good to advertise this feature if we're going to have it 😄

@lucasfcosta
Copy link
Member Author

Oh, of course, I thought about doing it when I've found this out but then I totally forgot it
I'm gonna do it 😃

@lucasfcosta
Copy link
Member Author

Done!
I think all the doc strings are okay now.

PS.: The message argument was already being listed as a @param and it was documented on chai's website too, it just wasn't implemented and the doc strings needed to be updated properly.

keithamus added a commit that referenced this pull request Feb 1, 2016
Fix missing msg argument for change related assertions
@keithamus keithamus merged commit b369f25 into chaijs:master Feb 1, 2016
@keithamus
Copy link
Member

💥

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