Skip to content
This repository was archived by the owner on Apr 14, 2021. It is now read-only.

Provide a working unit test for Issue #192 #193

Merged
merged 1 commit into from
Jul 5, 2016
Merged

Provide a working unit test for Issue #192 #193

merged 1 commit into from
Jul 5, 2016

Conversation

headcr4sh
Copy link
Contributor

Provide a working unit test for issue #192.

@@ -42,3 +42,11 @@ assert(new IntlPolyfill.DateTimeFormat('en', {
month:'long',
year: 'numeric'
}).format(new Date('2016/01/16')), 'January 2016', 'month should be long');

// Issue #192
assert((function () {
Copy link
Contributor

@watilde watilde Jun 29, 2016

Choose a reason for hiding this comment

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

Thanks for adding the case. It would be nice if you can make the style like the others!

assert(new IntlPolyfill.DateTimeFormat('en-us', {
    month:'long',
}).format(new Date(2016, 0, 1)), 'January', 'month should be long');

Copy link
Collaborator

Choose a reason for hiding this comment

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

@headcr4sh align with the other tests, and I can merge this in preparation for that fix.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@headcr4sh
Copy link
Contributor Author

Style has been adjusted and patch has been rebased on the latest master branch.

@caridy caridy merged commit f8c5616 into andyearnshaw:master Jul 5, 2016
@caridy
Copy link
Collaborator

caridy commented Jul 5, 2016

thanks @headcr4sh

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants