Fix invalid YAML in formatRange* tests. (#2157)

This commit is contained in:
Ross Kirsling 2019-05-16 10:46:55 -07:00 committed by Leo Balter
parent 80af423aca
commit a919d53019
18 changed files with 34 additions and 34 deletions

View File

@ -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).

View File

@ -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).

View File

@ -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).

View File

@ -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.

View File

@ -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.

View File

@ -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.

View File

@ -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.

View File

@ -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).

View File

@ -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.

View File

@ -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).

View File

@ -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).

View File

@ -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).

View File

@ -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.

View File

@ -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.

View File

@ -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.

View File

@ -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.

View File

@ -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).

View File

@ -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.