mirror of https://github.com/tc39/test262.git
Temporal: Edit test descriptions that refer to Calendar and TimeZone objects
This commit is contained in:
parent
372527e572
commit
0a1cb1307f
|
@ -272,8 +272,7 @@ var TemporalHelpers = {
|
|||
/*
|
||||
* assertUnreachable(description):
|
||||
*
|
||||
* Helper for asserting that code is not executed. This is useful for
|
||||
* assertions that methods of user calendars and time zones are not called.
|
||||
* Helper for asserting that code is not executed.
|
||||
*/
|
||||
assertUnreachable(description) {
|
||||
let message = "This code should not be executed";
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
/*---
|
||||
esid: sec-temporal.duration.compare
|
||||
description: Conversion of ISO date-time strings to Temporal.TimeZone instances
|
||||
description: Conversion of ISO date-time strings to time zone IDs
|
||||
features: [Temporal]
|
||||
---*/
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
/*---
|
||||
esid: sec-temporal.duration.prototype.round
|
||||
description: Conversion of ISO date-time strings to Temporal.TimeZone instances
|
||||
description: Conversion of ISO date-time strings to time zone IDs
|
||||
features: [Temporal]
|
||||
---*/
|
||||
|
||||
|
|
|
@ -3,7 +3,9 @@
|
|||
|
||||
/*---
|
||||
esid: sec-temporal.duration.prototype.total
|
||||
description: Fast path for converting other Temporal objects to Temporal.Calendar by reading internal slots
|
||||
description: >
|
||||
Fast path for converting other Temporal objects to calendar ID by reading
|
||||
internal slots
|
||||
info: |
|
||||
sec-temporal.duration.prototype.total step 4:
|
||||
4. Let _relativeTo_ be ? ToRelativeTemporalObject(_options_).
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
/*---
|
||||
esid: sec-temporal.duration.prototype.total
|
||||
description: Conversion of ISO date-time strings to Temporal.TimeZone instances
|
||||
description: Conversion of ISO date-time strings to time zone IDs
|
||||
features: [Temporal]
|
||||
---*/
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
/*---
|
||||
esid: sec-temporal.instant.prototype.tostring
|
||||
description: Conversion of ISO date-time strings to Temporal.TimeZone instances
|
||||
description: Conversion of ISO date-time strings to time zone IDs
|
||||
features: [Temporal]
|
||||
---*/
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
/*---
|
||||
esid: sec-temporal.instant.prototype.tozoneddatetimeiso
|
||||
description: Conversion of ISO date-time strings to Temporal.TimeZone instances
|
||||
description: Conversion of ISO date-time strings to time zone IDs
|
||||
features: [Temporal]
|
||||
---*/
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
/*---
|
||||
esid: sec-temporal.now.plaindateiso
|
||||
description: Conversion of ISO date-time strings to Temporal.TimeZone instances
|
||||
description: Conversion of ISO date-time strings to time zone IDs
|
||||
features: [Temporal]
|
||||
---*/
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
/*---
|
||||
esid: sec-temporal.now.plaindatetimeiso
|
||||
description: Conversion of ISO date-time strings to Temporal.TimeZone instances
|
||||
description: Conversion of ISO date-time strings to time zone IDs
|
||||
features: [Temporal]
|
||||
---*/
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
/*---
|
||||
esid: sec-temporal.now.plaintimeiso
|
||||
description: Conversion of ISO date-time strings to Temporal.TimeZone instances
|
||||
description: Conversion of ISO date-time strings to time zone IDs
|
||||
features: [Temporal]
|
||||
---*/
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
/*---
|
||||
esid: sec-temporal.now.zoneddatetimeiso
|
||||
description: Conversion of ISO date-time strings to Temporal.TimeZone instances
|
||||
description: Conversion of ISO date-time strings to time zone IDs
|
||||
features: [Temporal]
|
||||
---*/
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
/*---
|
||||
esid: sec-temporal.plaindate.prototype.tozoneddatetime
|
||||
description: Conversion of ISO date-time strings to Temporal.TimeZone instances
|
||||
description: Conversion of ISO date-time strings to time zone IDs
|
||||
features: [Temporal]
|
||||
---*/
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
/*---
|
||||
esid: sec-temporal.plaindatetime.prototype.tozoneddatetime
|
||||
description: Conversion of ISO date-time strings to Temporal.TimeZone instances
|
||||
description: Conversion of ISO date-time strings to time zone IDs
|
||||
features: [Temporal]
|
||||
---*/
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
/*---
|
||||
esid: sec-temporal.zoneddatetime.compare
|
||||
description: Conversion of ISO date-time strings to Temporal.TimeZone instances
|
||||
description: Conversion of ISO date-time strings to time zone IDs
|
||||
features: [Temporal]
|
||||
---*/
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
/*---
|
||||
esid: sec-temporal.zoneddatetime.from
|
||||
description: Conversion of ISO date-time strings to Temporal.TimeZone instances
|
||||
description: Conversion of ISO date-time strings to time zone IDs
|
||||
features: [Temporal]
|
||||
---*/
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
/*---
|
||||
esid: sec-temporal.zoneddatetime.prototype.until
|
||||
description: Conversion of ISO date-time strings to Temporal.TimeZone instances
|
||||
description: Conversion of ISO date-time strings to time zone IDs
|
||||
features: [Temporal]
|
||||
---*/
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
/*---
|
||||
esid: sec-temporal.zoneddatetime.prototype.withtimezone
|
||||
description: Conversion of ISO date-time strings to Temporal.TimeZone instances
|
||||
description: Conversion of ISO date-time strings to time zone IDs
|
||||
features: [Temporal]
|
||||
---*/
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
esid: sec-temporal.zoneddatetime
|
||||
description: >
|
||||
Appropriate error thrown when argument cannot be converted to a valid string
|
||||
or object for TimeZone
|
||||
for time zone
|
||||
features: [BigInt, Symbol, Temporal]
|
||||
---*/
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
/*---
|
||||
esid: sec-temporal.instant.prototype.tozoneddatetimeiso
|
||||
description: Conversion of ISO date-time strings to Temporal.TimeZone instances (with IANA time zones)
|
||||
description: Conversion of ISO date-time strings to time zone IDs (with IANA time zones)
|
||||
features: [Temporal]
|
||||
---*/
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
/*---
|
||||
esid: sec-temporal.now.zoneddatetimeiso
|
||||
description: Conversion of ISO date-time strings to Temporal.TimeZone instances (with IANA time zones)
|
||||
description: Conversion of ISO date-time strings to time zone IDs (with IANA time zones)
|
||||
features: [Temporal]
|
||||
---*/
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
/*---
|
||||
esid: sec-temporal.plaindate.prototype.tozoneddatetime
|
||||
description: Conversion of ISO date-time strings to Temporal.TimeZone instances (with IANA time zones)
|
||||
description: Conversion of ISO date-time strings to time zone IDs (with IANA time zones)
|
||||
features: [Temporal]
|
||||
---*/
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
/*---
|
||||
esid: sec-temporal.plaindatetime.prototype.tozoneddatetime
|
||||
description: Conversion of ISO date-time strings to Temporal.TimeZone instances (with IANA time zones)
|
||||
description: Conversion of ISO date-time strings to time zone IDs (with IANA time zones)
|
||||
features: [Temporal]
|
||||
---*/
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
/*---
|
||||
esid: sec-temporal.zoneddatetime.from
|
||||
description: Conversion of ISO date-time strings to Temporal.TimeZone instances (with IANA time zones)
|
||||
description: Conversion of ISO date-time strings to time zone IDs (with IANA time zones)
|
||||
features: [Temporal]
|
||||
---*/
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
/*---
|
||||
esid: sec-temporal.zoneddatetime.prototype.equals
|
||||
description: Conversion of ISO date-time strings to Temporal.TimeZone instances (with IANA time zones)
|
||||
description: Conversion of ISO date-time strings to time zone IDs (with IANA time zones)
|
||||
features: [Temporal]
|
||||
---*/
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
/*---
|
||||
esid: sec-temporal.zoneddatetime.prototype.until
|
||||
description: Conversion of ISO date-time strings to Temporal.TimeZone instances (with IANA time zones)
|
||||
description: Conversion of ISO date-time strings to time zone IDs (with IANA time zones)
|
||||
features: [Temporal]
|
||||
---*/
|
||||
|
||||
|
|
Loading…
Reference in New Issue