Frank Yung-Fong Tang
5eab51827b
Add "numberingSystem" to resolvedOptions() ( #2011 )
2019-01-28 10:59:54 -05:00
Frank Yung-Fong Tang
4f1155c566
Change tests according to ecma402/pull/278 ( #2031 )
2019-01-18 14:15:37 -02:00
Frank Yung-Fong Tang
dab8c8983a
remove "TypeError: Cannot convert a Symbol value to a string" ( #2009 )
2018-12-19 22:36:10 -02:00
Leo Balter
46c557247e
Fix more false positives throwing TypeError in functions
2018-12-17 16:45:56 -05:00
Rick Waldron
3b09d0e2b5
Eliminate false positives: Intl.*
2018-11-30 11:47:57 -05:00
Frank Tang
d38e98d1f3
Fix formatToParts expectation @ RelativeTimeFormat
...
Fix wrong expectations of
Intl.RelativeTimeFormat.prototype.formatToParts
Add tests to cover "group", "decimal" and "fraction".
2018-10-31 12:38:29 -04:00
Ms2ger
b8b93ec421
Intl.RelativeTimeFormat: Test the order of properties in the result of resolvedOptions().
2018-10-24 12:21:25 -04:00
André Bargull
faed4fb089
Fix various test issues
2018-10-17 07:45:33 -07:00
Ms2ger
3113b90d55
Intl.RelativeTimeFormat: Add some basic tests for CanonicalizeLocaleList.
2018-10-15 13:41:46 -04:00
Ms2ger
f61c4beaaa
Intl.RelativeTimeFormat: Fix copy/paste error in frontmatter. ( #1851 )
2018-10-09 11:30:01 -04:00
Ms2ger
9271068a83
Intl: Add tests for throwing getters in options objects.
2018-09-18 11:39:47 -04:00
Ms2ger
c52f9cb769
Intl: Add tests for subclassing Locale, ListFormat and RelativeTimeFormat.
...
Fixes #1705 .
2018-09-07 15:53:10 +02:00
Leo Balter
d901922690
Merge pull request #1682 from Ms2ger/rtf-supportedLocalesOf
...
Intl.RelativeTimeFormat: Add some more tests for supportedLocalesOf.
2018-08-17 18:04:34 -04:00
Leo Balter
f9d549329a
Merge pull request #1681 from Ms2ger/rtf-pl-fix
...
Intl.RelativeTimeFormat: Fix copy/paste errors in Polish tests.
2018-08-17 18:03:01 -04:00
Leo Balter
fcefbc7945
Merge pull request #1678 from Ms2ger/rtf-options-non-object
...
Intl.RelativeTimeFormat: Add some tests for non-object options arguments to the constructor.
2018-08-17 18:01:59 -04:00
André Bargull
cd101873ba
Fix expected values for 'quarter' in RelativeTimeFormat
2018-08-17 09:15:38 -07:00
Ms2ger
867b1ab87d
Intl.RelativeTimeFormat: Add some more tests for supportedLocalesOf.
2018-08-16 15:18:05 +02:00
Ms2ger
c82ea326a8
Intl.RelativeTimeFormat: Fix copy/paste errors in Polish tests.
2018-08-16 10:04:31 +02:00
Ms2ger
3161b18f71
Intl.RelativeTimeFormat: Add some tests for non-object options arguments to the constructor.
2018-08-14 17:43:32 +02:00
Rick Waldron
2c39868519
Merge remote-tracking branch 'ms2ger/rtf-supportedLocalesOf-basic'
...
* ms2ger/rtf-supportedLocalesOf-basic:
Intl.RelativeTimeFormat: Add a basic test for the functionality of supportedLocalesOf().
2018-08-10 15:36:01 -04:00
Rick Waldron
3a517cb7a7
Merge remote-tracking branch 'ms2ger/rtf-unit-invalid-plausible'
...
* ms2ger/rtf-unit-invalid-plausible:
Intl.RelativeTimeFormat: Test some plausible but unsupported unit arguments.
2018-08-10 15:23:25 -04:00
Rick Waldron
e900c559b6
Merge remote-tracking branch 'ms2ger/rtf-tonumber'
...
* ms2ger/rtf-tonumber:
Intl.RelativeTimeFormat: Add tests for ToNumber() in format/ToParts().
2018-08-10 15:23:06 -04:00
Rick Waldron
ec31d06622
Merge remote-tracking branch 'ms2ger/rtf-formatToParts-type'
...
* ms2ger/rtf-formatToParts-type:
Intl.RelativeTimeFormat: Add tests for the type of formatToParts results.
2018-08-10 15:22:31 -04:00
Ms2ger
d15e0f58fc
Intl.RelativeTimeFormat: Test some plausible but unsupported unit arguments.
2018-08-10 17:46:39 +02:00
Ms2ger
fcc9fb974b
Intl.RelativeTimeFormat: Add tests for ToNumber() in format/ToParts().
2018-08-10 17:45:44 +02:00
Ms2ger
59bc1d6a2f
Intl.RelativeTimeFormat: Add a basic test for the functionality of supportedLocalesOf().
...
This is based on test/intl402/NumberFormat/supportedLocalesOf/basic.js.
2018-08-10 17:21:08 +02:00
Ms2ger
f38722c021
Intl.RelativeTimeFormat: Add tests for the type of formatToParts results.
2018-08-10 16:14:10 +02:00
Ms2ger
1d8e1c8c4f
Intl.RelativeTimeFormat: Add some tests for different styles in Polish.
...
This is interesting because Polish has different output for the "short" and
"narrow" styles.
2018-08-10 14:29:00 +02:00
Ms2ger
48d95ac3c4
Intl.RelativeTimeFormat: Add some tests for the 'narrow' style.
2018-08-04 11:10:19 -04:00
Ms2ger
1e8d69f0fa
Intl.RelativeTimeFormat: Test for grouping in long numbers.
...
The specification was changed to remove the useGrouping option in
<https://github.com/tc39/proposal-intl-relative-time/pull/81 >.
The change to remove the minimumIntegerDigits option in that PR was already
taken into account; this commit also removes the reference to the issue.
This also removes some commented-out code that was left in by accident.
2018-08-04 11:09:20 -04:00
Ms2ger
fd666c5048
Intl.RelativeTimeFormat: Add some en-US-specific tests for format/formatToParts.
2018-07-27 13:09:44 -04:00
Ms2ger
604df708b3
Intl.RelativeTimeFormat: Add some tests for format, formatToParts, and resolvedOptions.
2018-07-27 13:02:00 -04:00
Ms2ger
764eb4f8b9
Intl.RelativeTimeFormat: Add tests for invalid units in format/formatToParts.
2018-07-20 15:00:30 -04:00
Ms2ger
94b1e80ab3
Intl.RelativeTimeFormat: Add a test for the return value of supportedLocalesOf()
2018-07-13 20:18:12 -04:00
Rick Waldron
2e007144ba
Merge pull request #1627 from Ms2ger/RelativeTimeFormat-options-proto
...
Add tests for objects created in the RelativeTimeFormat constructor.
2018-07-06 14:47:40 -04:00
Rick Waldron
47f9008bd3
Merge pull request #1626 from Ms2ger/RelativeTimeFormat-options
...
Add some more tests for the options argument to the RelativeTimeForm…
2018-07-06 14:46:49 -04:00
Ms2ger
df41a35c79
Add tests for objects created in the RelativeTimeFormat constructor.
...
The specification was changed in https://github.com/tc39/proposal-intl-relative-time/pull/79 .
2018-07-06 16:46:28 +02:00
Ms2ger
f8b6b929df
Add some more tests for the options argument to the RelativeTimeFormat constructor.
2018-07-06 15:00:15 +02:00
Ms2ger
aa7b3a5d02
Add a test for Object.prototype.toString with Intl.RelativeTimeFormat objects.
2018-07-06 12:27:48 +02:00
Ms2ger
6092c08ade
Update expectation for Intl.RelativeTimeFormat.prototype[@@toStringTag].
...
The specification changed in https://github.com/tc39/proposal-intl-relative-time/pull/77 .
2018-07-06 11:45:20 +02:00
Ms2ger
b4efa8c938
Add tests for the shape of the Intl.RelativeTimeFormat API. ( #1596 )
...
* Add Intl.RelativeTimeFormat feature.
* Add tests for the shape of the Intl.RelativeTimeFormat API.
* fixup! Add tests for the shape of the Intl.RelativeTimeFormat API.
2018-06-26 14:02:29 -04:00