mirror of
https://github.com/tc39/test262.git
synced 2025-07-21 13:04:39 +02:00
Fix invalid YAML in formatRange* tests. (#2157)
This commit is contained in:
parent
80af423aca
commit
a919d53019
@ -3,9 +3,9 @@
|
||||
|
||||
/*---
|
||||
esid: sec-partitiondatetimerangepattern
|
||||
description: |
|
||||
description: >
|
||||
The Date constructor is not called to convert the input value.
|
||||
info: >
|
||||
info: |
|
||||
Intl.DateTimeFormat.prototype.formatRange ( startDate , endDate )
|
||||
|
||||
5. Let x be ? ToNumber(startDate).
|
||||
|
@ -3,9 +3,9 @@
|
||||
|
||||
/*---
|
||||
esid: sec-partitiondatetimerangepattern
|
||||
description: |
|
||||
description: >
|
||||
TimeClip is applied when calling Intl.DateTimeFormat.prototype.formatRange.
|
||||
info: >
|
||||
info: |
|
||||
PartitionDateTimeRangePattern ( dateTimeFormat, x, y )
|
||||
|
||||
1. Let x be TimeClip(x).
|
||||
|
@ -3,9 +3,9 @@
|
||||
|
||||
/*---
|
||||
esid: sec-partitiondatetimerangepattern
|
||||
description: |
|
||||
description: >
|
||||
TimeClip applies ToInteger on its input value.
|
||||
info: >
|
||||
info: |
|
||||
Intl.DateTimeFormat.prototype.formatRange ( startDate , endDate )
|
||||
|
||||
5. Let x be ? ToNumber(startDate).
|
||||
|
@ -2,9 +2,9 @@
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/*---
|
||||
description:
|
||||
description: >
|
||||
Throws a RangeError if date arg is cast to an Infinity value
|
||||
info:
|
||||
info: |
|
||||
Intl.DateTimeFormat.prototype.formatRange ( startDate , endDate )
|
||||
|
||||
1. Let dtf be this value.
|
||||
|
@ -2,9 +2,9 @@
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/*---
|
||||
description:
|
||||
description: >
|
||||
Throws a RangeError if date arg is cast to NaN
|
||||
info:
|
||||
info: |
|
||||
Intl.DateTimeFormat.prototype.formatRange ( startDate , endDate )
|
||||
|
||||
1. Let dtf be this value.
|
||||
|
@ -2,9 +2,9 @@
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/*---
|
||||
description:
|
||||
description: >
|
||||
Throws a RangeError if startDate or endDate is undefined.
|
||||
info:
|
||||
info: |
|
||||
Intl.DateTimeFormat.prototype.formatRange ( startDate , endDate )
|
||||
|
||||
1. Let dtf be this value.
|
||||
|
@ -2,9 +2,9 @@
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/*---
|
||||
description:
|
||||
description: >
|
||||
Throws a RangeError if date x is greater than y.
|
||||
info:
|
||||
info: |
|
||||
Intl.DateTimeFormat.prototype.formatRange ( startDate , endDate )
|
||||
|
||||
1. Let dtf be this value.
|
||||
|
@ -4,7 +4,7 @@
|
||||
/*---
|
||||
esid: sec-partitiondatetimerangepattern
|
||||
description: Basic tests for the en-US output of formatRange()
|
||||
info: >
|
||||
info: |
|
||||
Intl.DateTimeFormat.prototype.formatRange ( startDate , endDate )
|
||||
|
||||
8. Return ? FormatDateTimeRange(dtf, x, y).
|
||||
|
@ -2,9 +2,9 @@
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/*---
|
||||
description:
|
||||
description: >
|
||||
Throws a TypeError if this is not Object.
|
||||
info:
|
||||
info: |
|
||||
Intl.DateTimeFormat.prototype.formatRange ( startDate , endDate )
|
||||
|
||||
1. Let dtf be this value.
|
||||
|
@ -3,9 +3,9 @@
|
||||
|
||||
/*---
|
||||
esid: sec-partitiondatetimerangepattern
|
||||
description: |
|
||||
description: >
|
||||
The Date constructor is not called to convert the input value.
|
||||
info: >
|
||||
info: |
|
||||
Intl.DateTimeFormat.prototype.formatRangeToParts ( startDate , endDate )
|
||||
|
||||
5. Let x be ? ToNumber(startDate).
|
||||
|
@ -3,9 +3,9 @@
|
||||
|
||||
/*---
|
||||
esid: sec-partitiondatetimerangepattern
|
||||
description: |
|
||||
description: >
|
||||
TimeClip is applied when calling Intl.DateTimeFormat.prototype.formatRangeToParts.
|
||||
info: >
|
||||
info: |
|
||||
PartitionDateTimeRangePattern ( dateTimeFormat, x, y )
|
||||
|
||||
1. Let x be TimeClip(x).
|
||||
|
@ -3,9 +3,9 @@
|
||||
|
||||
/*---
|
||||
esid: sec-partitiondatetimerangepattern
|
||||
description: |
|
||||
description: >
|
||||
TimeClip applies ToInteger on its input value.
|
||||
info: >
|
||||
info: |
|
||||
Intl.DateTimeFormat.prototype.formatRangeToParts ( startDate , endDate )
|
||||
|
||||
5. Let x be ? ToNumber(startDate).
|
||||
|
@ -2,9 +2,9 @@
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/*---
|
||||
description:
|
||||
description: >
|
||||
Throws a RangeError if date arg is cast to an Infinity value
|
||||
info:
|
||||
info: |
|
||||
Intl.DateTimeFormat.prototype.formatRangeToParts ( startDate , endDate )
|
||||
|
||||
1. Let dtf be this value.
|
||||
|
@ -2,9 +2,9 @@
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/*---
|
||||
description:
|
||||
description: >
|
||||
Throws a RangeError if date arg is cast to Nan
|
||||
info:
|
||||
info: |
|
||||
Intl.DateTimeFormat.prototype.formatRangeToParts ( startDate , endDate )
|
||||
|
||||
1. Let dtf be this value.
|
||||
|
@ -2,9 +2,9 @@
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/*---
|
||||
description:
|
||||
description: >
|
||||
Throws a RangeError if startDate or endDate are undefined.
|
||||
info:
|
||||
info: |
|
||||
Intl.DateTimeFormat.prototype.formatRangeToParts ( startDate , endDate )
|
||||
|
||||
1. Let dtf be this value.
|
||||
|
@ -2,9 +2,9 @@
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/*---
|
||||
description:
|
||||
description: >
|
||||
Throws a RangeError if date x is greater than y.
|
||||
info:
|
||||
info: |
|
||||
Intl.DateTimeFormat.prototype.formatRangeToParts ( startDate , endDate )
|
||||
|
||||
1. Let dtf be this value.
|
||||
|
@ -4,7 +4,7 @@
|
||||
/*---
|
||||
esid: sec-partitiondatetimerangepattern
|
||||
description: Basic tests for the en-US output of formatRangeToParts()
|
||||
info: >
|
||||
info: |
|
||||
Intl.DateTimeFormat.prototype.formatRangeToParts ( startDate , endDate )
|
||||
|
||||
8. Return ? FormatDateTimeRange(dtf, x, y).
|
||||
|
@ -2,9 +2,9 @@
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/*---
|
||||
description:
|
||||
description: >
|
||||
Throws a TypeError if this is not Object.
|
||||
info:
|
||||
info: |
|
||||
Intl.DateTimeFormat.prototype.formatRangeToParts ( startDate , endDate )
|
||||
|
||||
1. Let dtf be this value.
|
||||
|
Loading…
x
Reference in New Issue
Block a user