mirror of https://github.com/tc39/test262.git
Remove unused includes in Intl test files
This commit is contained in:
parent
a380c6b000
commit
b6e9f9425f
|
@ -7,7 +7,7 @@ description: >
|
|||
Tests that Intl.Collator does not accept Unicode locale extension
|
||||
keys and values that are not allowed.
|
||||
author: Norbert Lindenberg
|
||||
includes: [testIntl.js, compareArray.js]
|
||||
includes: [compareArray.js]
|
||||
---*/
|
||||
|
||||
var testArray = [
|
||||
|
|
|
@ -7,7 +7,6 @@ description: >
|
|||
Tests that the options numeric and caseFirst can be set through
|
||||
either the locale or the options.
|
||||
author: Norbert Lindenberg
|
||||
includes: [testIntl.js]
|
||||
---*/
|
||||
|
||||
var options = [
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
es5id: 10.3.2_1_c
|
||||
description: Tests that compare function is bound to its Intl.Collator.
|
||||
author: Norbert Lindenberg
|
||||
includes: [testIntl.js, compareArray.js]
|
||||
includes: [compareArray.js]
|
||||
---*/
|
||||
|
||||
var strings = ["d", "O", "od", "oe", "of", "ö", "o\u0308", "X", "y", "Z", "Z.", "𠮷野家", "吉野家", "!A", "A", "b", "C"];
|
||||
|
|
|
@ -7,7 +7,7 @@ description: >
|
|||
Tests that the compare function isn't entirely unreasonable. This
|
||||
test is not normative.
|
||||
author: Norbert Lindenberg
|
||||
includes: [testIntl.js, compareArray.js]
|
||||
includes: [compareArray.js]
|
||||
---*/
|
||||
|
||||
// this test should be valid at least for the following locales
|
||||
|
|
|
@ -8,7 +8,7 @@ description: >
|
|||
Tests that the compare function supports phonebook sorting if it
|
||||
says it does. This test is not normative.
|
||||
author: Norbert Lindenberg
|
||||
includes: [testIntl.js, compareArray.js]
|
||||
includes: [compareArray.js]
|
||||
---*/
|
||||
|
||||
// this test should be valid at least for the following locales
|
||||
|
|
|
@ -8,7 +8,7 @@ description: >
|
|||
Tests that the compare function supports different sensitivity
|
||||
settings. This test is not normative.
|
||||
author: Norbert Lindenberg
|
||||
includes: [testIntl.js, compareArray.js]
|
||||
includes: [compareArray.js]
|
||||
---*/
|
||||
|
||||
// this test should be valid at least for the following locales
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
es5id: 10.1.2_a
|
||||
description: Tests that Intl.Collator can be subclassed.
|
||||
author: Norbert Lindenberg
|
||||
includes: [testIntl.js, compareArray.js]
|
||||
includes: [compareArray.js]
|
||||
---*/
|
||||
|
||||
// get a collator and have it sort an array for comparison with the subclass
|
||||
|
|
|
@ -7,7 +7,7 @@ description: >
|
|||
Tests that Date.prototype.toLocaleString & Co. produces the same
|
||||
results as Intl.DateTimeFormat.
|
||||
author: Norbert Lindenberg
|
||||
includes: [testIntl.js, compareArray.js]
|
||||
includes: [compareArray.js]
|
||||
---*/
|
||||
|
||||
var functions = {
|
||||
|
|
|
@ -7,7 +7,6 @@ description: >
|
|||
Tests that Intl.DateTimeFormat does not accept Unicode locale
|
||||
extension keys and values that are not allowed.
|
||||
author: Norbert Lindenberg
|
||||
includes: [testIntl.js]
|
||||
---*/
|
||||
|
||||
var locales = ["ja-JP", "zh-Hans-CN", "zh-Hant-TW"];
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
es5id: 12.3.2_1_c
|
||||
description: Tests that format function is bound to its Intl.DateTimeFormat.
|
||||
author: Norbert Lindenberg
|
||||
includes: [testIntl.js]
|
||||
---*/
|
||||
|
||||
var dates = [new Date(), new Date(0), new Date(Date.parse("1989-11-09T17:57:00Z"))];
|
||||
|
|
|
@ -9,7 +9,7 @@ description: >
|
|||
info: >
|
||||
12.4.5 Intl.DateTimeFormat.prototype.resolvedOptions()
|
||||
|
||||
includes: [testIntl.js, propertyHelper.js]
|
||||
includes: [propertyHelper.js]
|
||||
---*/
|
||||
|
||||
/* Values passed via unicode extension key work */
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
es5id: 12.1.2
|
||||
description: Tests that Intl.DateTimeFormat can be subclassed.
|
||||
author: Norbert Lindenberg
|
||||
includes: [testIntl.js, compareArray.js]
|
||||
includes: [compareArray.js]
|
||||
---*/
|
||||
|
||||
// get a date-time format and have it format an array of dates for comparison with the subclass
|
||||
|
|
|
@ -7,7 +7,7 @@ description: >
|
|||
Tests that Number.prototype.toLocaleString produces the same
|
||||
results as Intl.NumberFormat.
|
||||
author: Norbert Lindenberg
|
||||
includes: [testIntl.js, compareArray.js]
|
||||
includes: [compareArray.js]
|
||||
---*/
|
||||
|
||||
var numbers = [0, -0, 1, -1, 5.5, 123, -123, -123.45, 123.44501, 0.001234,
|
||||
|
|
|
@ -7,7 +7,6 @@ description: >
|
|||
Tests that Intl.NumberFormat does not accept Unicode locale
|
||||
extension keys and values that are not allowed.
|
||||
author: Norbert Lindenberg
|
||||
includes: [testIntl.js]
|
||||
---*/
|
||||
|
||||
var locales = ["ja-JP", "zh-Hans-CN", "zh-Hant-TW"];
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
es5id: 11.3.2_1_c
|
||||
description: Tests that format function is bound to its Intl.NumberFormat.
|
||||
author: Norbert Lindenberg
|
||||
includes: [testIntl.js]
|
||||
---*/
|
||||
|
||||
var numbers = [0, -0, 1, -1, 5.5, 123, -123, -123.45, 123.44501, 0.001234,
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
es5id: 11.1.2
|
||||
description: Tests that Intl.NumberFormat can be subclassed.
|
||||
author: Norbert Lindenberg
|
||||
includes: [testIntl.js, compareArray.js]
|
||||
includes: [compareArray.js]
|
||||
---*/
|
||||
|
||||
// get a number format and have it format an array of numbers for comparison with the subclass
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
esid: sec-intl-pluralrules-constructor
|
||||
description: Tests that Intl.PluralRules can be subclassed.
|
||||
author: Zibi Braniecki
|
||||
includes: [testIntl.js, compareArray.js]
|
||||
includes: [compareArray.js]
|
||||
---*/
|
||||
|
||||
// get a plural-rules and have it format an array of dates for comparison with the subclass
|
||||
|
|
|
@ -7,7 +7,7 @@ description: >
|
|||
Tests that localeCompare produces the same results as
|
||||
Intl.Collator.
|
||||
author: Norbert Lindenberg
|
||||
includes: [testIntl.js, compareArray.js]
|
||||
includes: [compareArray.js]
|
||||
---*/
|
||||
|
||||
var strings = ["d", "O", "od", "oe", "of", "ö", "o\u0308", "X", "y", "Z", "Z.", "𠮷野家", "吉野家", "!A", "A", "b", "C"];
|
||||
|
|
Loading…
Reference in New Issue