-
Notifications
You must be signed in to change notification settings - Fork 464
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
Add tests for DurationFormat PR 172 and 167 #3912
Conversation
0073051
to
0ef5242
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tests pass with an implementation of the latest spec draft.
assert.compareArray
could be used instead of assert.sameValue
, but that's not a blocker preventing to land this PR.
test/intl402/DurationFormat/prototype/resolvedOptions/return-keys-order-default.js
Outdated
Show resolved
Hide resolved
f9787c6
to
5934738
Compare
5934738
to
1ed8220
Compare
ping |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, seems correct but it seems like there's a couple of opportunities to cover more observable effects of the PRs. Can be done in a followup if necessary.
test/intl402/DurationFormat/prototype/resolvedOptions/return-keys-order-default.js
Show resolved
Hide resolved
@FrankYFTang Do you want to address the above comments or postpone them to a followup? |
I will address that later |
Test the order of resolvedOptions in default setting Also add test to check the reading order of options based on the property returned in the default setting resolvedOptions. tc39/proposal-intl-duration-format#167 tc39/proposal-intl-duration-format#172 https://tc39.es/proposal-intl-duration-format/#sec-Intl.DurationFormat.prototype.resolvedOptions These two PRs are presenting to TC39 2023-09 meeting Swap actual/expected order Update test/intl402/DurationFormat/constructor-option-read-order.js Co-authored-by: André Bargull <[email protected]> Fix per anba suggestion
1ed8220
to
6b8006d
Compare
Test the order of resolvedOptions in default setting Also add test to check the reading order of options based on the property returned in the default setting resolvedOptions.
tc39/proposal-intl-duration-format#167
tc39/proposal-intl-duration-format#172
https://tc39.es/proposal-intl-duration-format/#sec-Intl.DurationFormat.prototype.resolvedOptions
These two PRs are presenting to TC39 2023-09 meeting