Ben Allen
38d2924fb6
402: Replace currency-digits.js Intl.NumberFormat test ( #4285 )
...
ISO 4217 no longer normative for currency minor digits. New test verifies that
currency data (from whatever source) is used by verifying that `maximumFractionDigits` and `minimumFractionDigits`
are identical. See https://github.com/tc39/ecma402/pull/922
2024-10-31 11:39:44 -07:00
Tim Chevalier
de68177f59
Temporal: Move ZonedDateTime/prototype/round tests and one other ZonedDateTime test out of staging
2024-10-30 17:58:43 -07:00
Tim Chevalier
70ef1acd1c
Fix test for required properties
2024-10-30 17:18:26 -07:00
Tim Chevalier
7fb465496f
Feedback from code review
2024-10-30 17:18:26 -07:00
Tim Chevalier
d2d84950c3
Update test/built-ins/Temporal/ZonedDateTime/from/argument-propertybag-invalid-offset-string.js
...
Co-authored-by: Philip Chimento <philip.chimento@gmail.com>
2024-10-30 17:18:26 -07:00
Tim Chevalier
a93fe76f52
Temporal: Move ZonedDateTime property bag tests out of staging
2024-10-30 17:18:26 -07:00
Tim Chevalier
87344d96f2
Feedback from code review
2024-10-30 17:03:46 -07:00
Tim Chevalier
bfb957f669
Temporal: Move more ZonedDateTime tests out of staging
2024-10-30 17:03:46 -07:00
Tim Chevalier
5505758111
Temporal: Fix Temporal/Duration/p/round tests ( #4299 )
2024-10-30 16:45:28 -07:00
Tim Chevalier
85934bf49c
Temporal: Move tests for ZonedDateTime/p/{add, subtract} out of staging into test/built-ins ( #4287 )
2024-10-30 16:20:09 -07:00
Ben Allen
febf246e05
DurationFormat: Add tests for durations with large hour/minute/second unit values while using digital style
...
Grouping separators suppressed in this situation. See tc39/proposal-intl-duration-format/pull/198
2024-10-30 16:07:46 -07:00
Tim Chevalier
01dbd4db41
Temporal: Move tests for ZonedDateTime/compare out of staging into test/built-ins
2024-10-30 15:58:23 -07:00
Ben Allen
455cfa5a66
Add tests to `Intl.DateTimeFormat` and `Intl.RelativeTimeFormat` for various numbering systems ( #4276 )
...
* Add tests to `Intl.DateTimeFormat` and `Intl.RelativeTimeFormat` for formatting in various numbering systems
* fixup! Add tests to `Intl.DateTimeFormat` and `Intl.RelativeTimeFormat` for formatting in various numbering systems
2024-10-30 15:03:44 -07:00
Ben Allen
153db6ce33
Intl.NumberFormat Add tests for `Intl.NumberFormat` when using "currency" style and "compact", "engineering", and "scientific" notations.
...
Related PR: https://github.com/tc39/ecma402/pull/925
2024-10-30 14:51:34 -07:00
Tim Chevalier
3f2486e37f
Move all tests from staging/Temporal/Instant/old to test/built-ins/Temporal/Instant ( #4282 )
...
* Temporal: Move all tests from staging/Temporal/Instant/old to test/built-ins/Temporal/instant
2024-10-30 14:29:02 -07:00
Tim Chevalier
f178db57fe
Temporal: Move all tests out of total.js under staging into separate files under test/built-ins ( #4281 )
...
* Temporal: Move most tests out of total.js under staging into separate files under test/built-ins
Co-authored-by: Philip Chimento <philip.chimento@gmail.com>
2024-10-30 11:44:59 -07:00
Tim Chevalier
713ddf66e0
Temporal: Move some tests out of round.js under staging into separate files under test/built-ins ( #4280 )
...
Co-authored-by: Philip Chimento <philip.chimento@gmail.com>
2024-10-30 11:32:37 -07:00
Théo LUDWIG
01776c30d3
test(top-level-await): move out of staging module graphs hanging
2024-10-29 19:35:56 +01:00
André Bargull
5b1757743a
Update expected formatting for CLDR 46
2024-10-29 12:10:47 +01:00
Tim Chevalier
b8c29a05b5
Temporal: Move tests out of staging/Temporal/Duration/old and into test/built-ins
2024-10-28 12:41:47 -07:00
Chengzhong Wu
3f0a24f4f6
[source-phase-imports] update missing source error type
2024-10-25 11:37:04 +02:00
_Kerman
0add42b556
fix: heritage-arrow-function.js ( #4273 )
2024-10-21 15:54:30 +02:00
Jordan Harband
0645461999
add missing Error.isError feature flag
...
See https://github.com/tc39/test262/pull/4266#issuecomment-2419000590
2024-10-17 10:57:45 -07:00
Richard Gibson
c54b89e92e
harness/deepEqual.js: Improve formatting and align with base assert ( #4253 )
2024-10-16 16:59:47 -04:00
Philip Chimento
7f3a536c9f
generation: Move list-iteration to end of short-circuited condition
...
Suggested by Richard in code review.
2024-10-16 12:02:49 -07:00
Philip Chimento
faca8af32d
generation: DRY list(OrderedDict) idiom
...
A named function is also more self-documenting. Thanks to Richard for the
suggestion.
2024-10-16 12:02:49 -07:00
Philip Chimento
d9d48fdd99
generation: Create folders in make.py
...
For convenience, assume that when someone uses make.py to generate the
tests, they would like not-yet-existing folders to be created.
2024-10-16 12:02:49 -07:00
Philip Chimento
8e9141e69d
generation: Fix bytes/str error
...
This was probably left over from supporting Python 2 in the scripts.
2024-10-16 12:02:49 -07:00
Philip Chimento
65ff60c209
generation: Remove invalid escape in re.sub pattern
...
Recent Python gives a warning about the \s escape in a string pattern
passed to re.sub(). Apparently this is not supported. Instead, pass a
width of ∞ to yaml.dump() to avoid adding the line breaks in the first
place that the regexp was removing.
2024-10-16 12:02:49 -07:00
Philip Chimento
8eb3a0dfde
CI: Only install SBT if not present on Ubuntu image
2024-10-16 08:09:45 -07:00
Philip Chimento
9f3ea11f7f
CI: Setup SBT manually
...
One of the core developers of SBT has kindly created an action to replace
the missing SBT in newer Ubuntu images.
https://github.com/marketplace/actions/setup-sbt-installer
Closes : #4267
2024-10-16 08:09:45 -07:00
Jordan Harband
4b17ad3f3d
add `Error.isError` tests
...
See https://github.com/tc39/proposal-is-error/issues/7
2024-10-15 11:12:39 -07:00
Meghan Denny
80d5a59898
features.txt: update new stage 4 proposals
2024-10-15 10:57:26 -07:00
Ioanna M. Dimitriou H
3cacf7d85e
Fix CI linting errors
2024-10-15 10:32:14 -07:00
Ioanna M. Dimitriou H
51d86807fe
Address review comments
2024-10-15 10:32:14 -07:00
Ioanna M. Dimitriou H
3f8d416bf5
same for isRawJSON's property descriptor test file
2024-10-15 10:32:14 -07:00
Ioanna M. Dimitriou H
d103a39e52
Updated placement of tests in rawJSON test files, previous older version was added accidentally.
2024-10-15 10:32:14 -07:00
Ioanna M. Dimitriou H
954d1809f8
Boilerplate tests for rawJSON and isRawJSON
...
from the proposal json-parse-with-source
2024-10-15 10:32:14 -07:00
André Bargull
df910721ba
Update time zone mapping for CLDR46 / tzdata 2024b
2024-10-14 11:21:25 -07:00
André Bargull
9b3d9d9700
Update built-ins/Date to verifyProperty
2024-10-14 08:55:14 -07:00
André Bargull
d1c2a6f139
Update built-ins/Date/prototype/getXXX to verifyProperty
2024-10-14 08:55:14 -07:00
André Bargull
800d2190b3
Update built-ins/Date/prototype/setXXX to verifyProperty
2024-10-14 08:55:14 -07:00
Meghan Denny
60963bf468
chore: convert many tests to use verifyProperty ( #4263 )
...
Co-authored-by: André Bargull <andre.bargull@gmail.com>
2024-10-14 11:25:05 +02:00
Peter Hoddie
83fae7f1f2
a few tests use verifyPrimordialProperty
2024-10-11 12:45:30 -07:00
Peter Hoddie
d6155b6ef2
add verifyPrimordialProperty
2024-10-11 12:45:30 -07:00
Linus Groh
f923513ec6
Delete .hgignore
2024-10-11 12:25:18 -07:00
André Bargull
92b592547d
Ensure NaN time values are correctly handled in various Date setters
...
Related PR: https://github.com/tc39/ecma262/pull/2136
2024-10-11 12:19:13 -07:00
Richard Gibson
5ae7de9942
Increase coverage of String.prototype.replace $xy replacement patterns ( #3931 )
...
* $xy is a valid capture index
* $xy is not a valid capture index but $x is
* neither $xy nor $x is a valid capture index
2024-10-10 14:08:45 +02:00
tannal
954d6370f9
Avoid using destructuring in tco-fn-realm.js
2024-10-09 19:52:05 -07:00
André Bargull
ab809f8f0c
Update tests for "Limit valid values for DurationFormats to match upcoming limits in Temporal"
...
Update tests for
<https://github.com/tc39/proposal-intl-duration-format/pull/173 >.
2024-10-09 19:43:12 -07:00