Cleanups for tests

Ref https://github.com/tc39/test262/pull/2194
This commit is contained in:
Leo Balter 2019-06-12 13:21:28 -04:00 committed by Rick Waldron
parent 49eee8bf9d
commit ab046dc1ea
7 changed files with 22 additions and 27 deletions

View File

@ -13,7 +13,6 @@ info: |
features: [Intl.DateTimeFormat-dayPeriod] features: [Intl.DateTimeFormat-dayPeriod]
---*/ ---*/
const invalidOptions = [ const invalidOptions = [
"", "",
"LONG", "LONG",

View File

@ -13,7 +13,6 @@ info: |
features: [Intl.DateTimeFormat-dayPeriod] features: [Intl.DateTimeFormat-dayPeriod]
---*/ ---*/
const validOptions = [ const validOptions = [
[undefined, undefined], [undefined, undefined],
["long", "long"], ["long", "long"],

View File

@ -18,7 +18,6 @@ info: |
26. Let matcher be ? GetOption(options, "formatMatcher", "string", « "basic", "best fit" », "best fit"). 26. Let matcher be ? GetOption(options, "formatMatcher", "string", « "basic", "best fit" », "best fit").
includes: [compareArray.js] includes: [compareArray.js]
features: [Intl.DateTimeFormat-fractionalSecondDigits] features: [Intl.DateTimeFormat-fractionalSecondDigits]
---*/ ---*/
// Just need to ensure fractionalSecondDigits are get // Just need to ensure fractionalSecondDigits are get

View File

@ -10,7 +10,6 @@ info: |
a. For each of the property names "weekday", "year", "quarter", "month", "day", do a. For each of the property names "weekday", "year", "quarter", "month", "day", do
includes: [compareArray.js] includes: [compareArray.js]
features: [Intl.DateTimeFormat-quarter] features: [Intl.DateTimeFormat-quarter]
---*/ ---*/
// Just need to ensure quarter are get between year and month. // Just need to ensure quarter are get between year and month.

View File

@ -2,7 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file. // This code is governed by the BSD license found in the LICENSE file.
/*--- /*---
esid: 12.1.1_22 esid: sec-initializedatetimeformat
description: > description: >
Tests that the behavior of a Record is not affected by Tests that the behavior of a Record is not affected by
adversarial changes to Object.prototype. adversarial changes to Object.prototype.

View File

@ -2,7 +2,7 @@
// This code is governed by the BSD license found in the LICENSE file. // This code is governed by the BSD license found in the LICENSE file.
/*--- /*---
esid: 12.1.1_22 esid: sec-initializedatetimeformat
description: > description: >
Tests that the behavior of a Record is not affected by Tests that the behavior of a Record is not affected by
adversarial changes to Object.prototype. adversarial changes to Object.prototype.

View File

@ -2,10 +2,9 @@
// This code is governed by the BSD license found in the LICENSE file. // This code is governed by the BSD license found in the LICENSE file.
/*--- /*---
esid: 12.1.1_22 esid: sec-initializedatetimeformat
description: > description: >
Tests that the behavior of a Record is not affected by Tests that the behavior of a Record is not affected by adversarial changes to Object.prototype.
adversarial changes to Object.prototype.
includes: [testIntl.js] includes: [testIntl.js]
features: [Intl.DateTimeFormat-quarter] features: [Intl.DateTimeFormat-quarter]
---*/ ---*/