From b6e9f9425f991681cd0282f2b3188e8280f6be0a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Bargull?= Date: Thu, 21 Dec 2017 12:08:33 -0800 Subject: [PATCH] Remove unused includes in Intl test files --- test/intl402/Collator/ignore-invalid-unicode-ext-values.js | 2 +- test/intl402/Collator/numeric-and-caseFirst.js | 1 - .../Collator/prototype/compare/bound-to-collator-instance.js | 2 +- test/intl402/Collator/prototype/compare/non-normative-basic.js | 2 +- .../Collator/prototype/compare/non-normative-phonebook.js | 2 +- .../Collator/prototype/compare/non-normative-sensitivity.js | 2 +- test/intl402/Collator/subclassing.js | 2 +- .../Date/prototype/returns-same-results-as-DateTimeFormat.js | 2 +- .../intl402/DateTimeFormat/ignore-invalid-unicode-ext-values.js | 1 - .../prototype/format/bound-to-datetimeformat-instance.js | 1 - .../DateTimeFormat/prototype/resolvedOptions/hourCycle.js | 2 +- test/intl402/DateTimeFormat/subclassing.js | 2 +- .../toLocaleString/returns-same-results-as-NumberFormat.js | 2 +- test/intl402/NumberFormat/ignore-invalid-unicode-ext-values.js | 1 - .../prototype/format/bound-to-numberformat-instance.js | 1 - test/intl402/NumberFormat/subclassing.js | 2 +- test/intl402/PluralRules/can-be-subclassed.js | 2 +- .../prototype/localeCompare/returns-same-results-as-Collator.js | 2 +- 18 files changed, 13 insertions(+), 18 deletions(-) diff --git a/test/intl402/Collator/ignore-invalid-unicode-ext-values.js b/test/intl402/Collator/ignore-invalid-unicode-ext-values.js index a0120cecb6..e6c88ed3ad 100644 --- a/test/intl402/Collator/ignore-invalid-unicode-ext-values.js +++ b/test/intl402/Collator/ignore-invalid-unicode-ext-values.js @@ -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 = [ diff --git a/test/intl402/Collator/numeric-and-caseFirst.js b/test/intl402/Collator/numeric-and-caseFirst.js index ae4f099fb1..48719f85b0 100644 --- a/test/intl402/Collator/numeric-and-caseFirst.js +++ b/test/intl402/Collator/numeric-and-caseFirst.js @@ -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 = [ diff --git a/test/intl402/Collator/prototype/compare/bound-to-collator-instance.js b/test/intl402/Collator/prototype/compare/bound-to-collator-instance.js index 5e8374cb77..f421e11fd0 100644 --- a/test/intl402/Collator/prototype/compare/bound-to-collator-instance.js +++ b/test/intl402/Collator/prototype/compare/bound-to-collator-instance.js @@ -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"]; diff --git a/test/intl402/Collator/prototype/compare/non-normative-basic.js b/test/intl402/Collator/prototype/compare/non-normative-basic.js index 0056f28899..f2c35b46c1 100644 --- a/test/intl402/Collator/prototype/compare/non-normative-basic.js +++ b/test/intl402/Collator/prototype/compare/non-normative-basic.js @@ -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 diff --git a/test/intl402/Collator/prototype/compare/non-normative-phonebook.js b/test/intl402/Collator/prototype/compare/non-normative-phonebook.js index 2b2378a131..fe073a1ec9 100644 --- a/test/intl402/Collator/prototype/compare/non-normative-phonebook.js +++ b/test/intl402/Collator/prototype/compare/non-normative-phonebook.js @@ -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 diff --git a/test/intl402/Collator/prototype/compare/non-normative-sensitivity.js b/test/intl402/Collator/prototype/compare/non-normative-sensitivity.js index 372a8e2021..e7f416f868 100644 --- a/test/intl402/Collator/prototype/compare/non-normative-sensitivity.js +++ b/test/intl402/Collator/prototype/compare/non-normative-sensitivity.js @@ -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 diff --git a/test/intl402/Collator/subclassing.js b/test/intl402/Collator/subclassing.js index e6087b8ce7..5b3fd819fd 100644 --- a/test/intl402/Collator/subclassing.js +++ b/test/intl402/Collator/subclassing.js @@ -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 diff --git a/test/intl402/Date/prototype/returns-same-results-as-DateTimeFormat.js b/test/intl402/Date/prototype/returns-same-results-as-DateTimeFormat.js index 39cb4b660f..4415bea923 100644 --- a/test/intl402/Date/prototype/returns-same-results-as-DateTimeFormat.js +++ b/test/intl402/Date/prototype/returns-same-results-as-DateTimeFormat.js @@ -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 = { diff --git a/test/intl402/DateTimeFormat/ignore-invalid-unicode-ext-values.js b/test/intl402/DateTimeFormat/ignore-invalid-unicode-ext-values.js index 19c6261cde..a6e6661323 100644 --- a/test/intl402/DateTimeFormat/ignore-invalid-unicode-ext-values.js +++ b/test/intl402/DateTimeFormat/ignore-invalid-unicode-ext-values.js @@ -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"]; diff --git a/test/intl402/DateTimeFormat/prototype/format/bound-to-datetimeformat-instance.js b/test/intl402/DateTimeFormat/prototype/format/bound-to-datetimeformat-instance.js index 67938c8ded..a8757348d2 100644 --- a/test/intl402/DateTimeFormat/prototype/format/bound-to-datetimeformat-instance.js +++ b/test/intl402/DateTimeFormat/prototype/format/bound-to-datetimeformat-instance.js @@ -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"))]; diff --git a/test/intl402/DateTimeFormat/prototype/resolvedOptions/hourCycle.js b/test/intl402/DateTimeFormat/prototype/resolvedOptions/hourCycle.js index b3055c4b43..aafcf8f4d9 100644 --- a/test/intl402/DateTimeFormat/prototype/resolvedOptions/hourCycle.js +++ b/test/intl402/DateTimeFormat/prototype/resolvedOptions/hourCycle.js @@ -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 */ diff --git a/test/intl402/DateTimeFormat/subclassing.js b/test/intl402/DateTimeFormat/subclassing.js index 7c85226299..e35d8d8fc6 100644 --- a/test/intl402/DateTimeFormat/subclassing.js +++ b/test/intl402/DateTimeFormat/subclassing.js @@ -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 diff --git a/test/intl402/Number/prototype/toLocaleString/returns-same-results-as-NumberFormat.js b/test/intl402/Number/prototype/toLocaleString/returns-same-results-as-NumberFormat.js index b7d36b9168..a75bb16885 100644 --- a/test/intl402/Number/prototype/toLocaleString/returns-same-results-as-NumberFormat.js +++ b/test/intl402/Number/prototype/toLocaleString/returns-same-results-as-NumberFormat.js @@ -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, diff --git a/test/intl402/NumberFormat/ignore-invalid-unicode-ext-values.js b/test/intl402/NumberFormat/ignore-invalid-unicode-ext-values.js index f1739a6f8a..0a305d052a 100644 --- a/test/intl402/NumberFormat/ignore-invalid-unicode-ext-values.js +++ b/test/intl402/NumberFormat/ignore-invalid-unicode-ext-values.js @@ -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"]; diff --git a/test/intl402/NumberFormat/prototype/format/bound-to-numberformat-instance.js b/test/intl402/NumberFormat/prototype/format/bound-to-numberformat-instance.js index 4cf0163379..2c739f17f3 100644 --- a/test/intl402/NumberFormat/prototype/format/bound-to-numberformat-instance.js +++ b/test/intl402/NumberFormat/prototype/format/bound-to-numberformat-instance.js @@ -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, diff --git a/test/intl402/NumberFormat/subclassing.js b/test/intl402/NumberFormat/subclassing.js index 6335f921a2..8a7ea2d332 100644 --- a/test/intl402/NumberFormat/subclassing.js +++ b/test/intl402/NumberFormat/subclassing.js @@ -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 diff --git a/test/intl402/PluralRules/can-be-subclassed.js b/test/intl402/PluralRules/can-be-subclassed.js index 36ec0da276..8504a9ce16 100644 --- a/test/intl402/PluralRules/can-be-subclassed.js +++ b/test/intl402/PluralRules/can-be-subclassed.js @@ -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 diff --git a/test/intl402/String/prototype/localeCompare/returns-same-results-as-Collator.js b/test/intl402/String/prototype/localeCompare/returns-same-results-as-Collator.js index 171dad245f..90cefb9e52 100644 --- a/test/intl402/String/prototype/localeCompare/returns-same-results-as-Collator.js +++ b/test/intl402/String/prototype/localeCompare/returns-same-results-as-Collator.js @@ -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"];