Update collations and calendar data in test files to CLDR 32

This commit is contained in:
André Bargull 2017-12-21 12:08:23 -08:00 committed by Rick Waldron
parent f65bd7af7a
commit c2c274fe8a
2 changed files with 16 additions and 6 deletions

View File

@ -15,13 +15,16 @@ var actual = new Intl.Collator().resolvedOptions();
var actual2 = new Intl.Collator().resolvedOptions(); var actual2 = new Intl.Collator().resolvedOptions();
assert.notSameValue(actual2, actual, "resolvedOptions returned the same object twice."); assert.notSameValue(actual2, actual, "resolvedOptions returned the same object twice.");
// source: CLDR file common/bcp47/collation.xml; version CLDR 21. // source: CLDR file common/bcp47/collation.xml; version CLDR 32.
var collations = [ var collations = [
"default", // added "default", // added
"big5han", "big5han",
"compat",
"dict", "dict",
"direct", "direct",
"ducet", "ducet",
"emoji",
"eor",
"gb2312", "gb2312",
"phonebk", "phonebk",
"phonetic", "phonetic",
@ -32,7 +35,8 @@ var collations = [
// "standard", // excluded // "standard", // excluded
"stroke", "stroke",
"trad", "trad",
"unihan" "unihan",
"zhuyin",
]; ];
// this assumes the default values where the specification provides them // this assumes the default values where the specification provides them

View File

@ -16,22 +16,28 @@ var actual = new Intl.DateTimeFormat().resolvedOptions();
var actual2 = new Intl.DateTimeFormat().resolvedOptions(); var actual2 = new Intl.DateTimeFormat().resolvedOptions();
assert.notSameValue(actual2, actual, "resolvedOptions returned the same object twice."); assert.notSameValue(actual2, actual, "resolvedOptions returned the same object twice.");
// source: CLDR file common/bcp47/calendar.xml; version CLDR 21. // source: CLDR file common/bcp47/calendar.xml; version CLDR 32.
var calendars = [ var calendars = [
"buddhist", "buddhist",
"chinese", "chinese",
"coptic", "coptic",
"dangi",
"ethioaa", "ethioaa",
"ethiopic-amete-alem",
"ethiopic", "ethiopic",
"gregory", "gregory",
"hebrew", "hebrew",
"indian", "indian",
"islamic", "islamic",
"islamicc", "islamic-umalqura",
"islamic-tbla",
"islamic-civil",
"islamic-rgsa",
"iso8601", "iso8601",
"japanese", "japanese",
"persian", "persian",
"roc" "roc",
"islamicc",
]; ];
// this assumes the default values where the specification provides them // this assumes the default values where the specification provides them