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

Changed Assertion.NaN to a strict implementation as defined in ES6 #507

Closed
wants to merge 2 commits into from

Conversation

olivr70
Copy link

@olivr70 olivr70 commented Aug 17, 2015

Relies on an ES6 polyfill for previous Javascript versions

Fixes #498

Relies on an ES6 polyfill for previous Javascript versions
@@ -333,22 +333,27 @@ module.exports = function (chai, _) {

/**
* ### .NaN
* Asserts that the target is `NaN`.
* Asserts that the target is a number and is exactly `NaN. No conversions are made.
Copy link
Member

Choose a reason for hiding this comment

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

Missing a backtick here? NaN` should be NaN``

as discussed in PR  chaijs#507 and proposed by @thefourtheye
@keithamus
Copy link
Member

Sorry @thefourtheye this PR slipped the net for a while. It's a bit outdated now, could you pretty please rebase and I'll look toward merging it 😄

@thefourtheye
Copy link
Contributor

@keithamus #508 has been landed already

@keithamus
Copy link
Member

Doi, you're totally right. Thanks for that. I'll close this one.

@keithamus keithamus closed this Oct 2, 2015
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.

None yet

3 participants