mirror of https://github.com/tc39/test262.git
Update collations and calendar data in test files to CLDR 32
This commit is contained in:
parent
f65bd7af7a
commit
c2c274fe8a
|
@ -15,13 +15,16 @@ var actual = new Intl.Collator().resolvedOptions();
|
|||
var actual2 = new Intl.Collator().resolvedOptions();
|
||||
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 = [
|
||||
"default", // added
|
||||
"big5han",
|
||||
"big5han",
|
||||
"compat",
|
||||
"dict",
|
||||
"direct",
|
||||
"ducet",
|
||||
"emoji",
|
||||
"eor",
|
||||
"gb2312",
|
||||
"phonebk",
|
||||
"phonetic",
|
||||
|
@ -32,7 +35,8 @@ var collations = [
|
|||
// "standard", // excluded
|
||||
"stroke",
|
||||
"trad",
|
||||
"unihan"
|
||||
"unihan",
|
||||
"zhuyin",
|
||||
];
|
||||
|
||||
// this assumes the default values where the specification provides them
|
||||
|
|
|
@ -16,22 +16,28 @@ var actual = new Intl.DateTimeFormat().resolvedOptions();
|
|||
var actual2 = new Intl.DateTimeFormat().resolvedOptions();
|
||||
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 = [
|
||||
"buddhist",
|
||||
"chinese",
|
||||
"coptic",
|
||||
"dangi",
|
||||
"ethioaa",
|
||||
"ethiopic-amete-alem",
|
||||
"ethiopic",
|
||||
"gregory",
|
||||
"hebrew",
|
||||
"indian",
|
||||
"islamic",
|
||||
"islamicc",
|
||||
"islamic-umalqura",
|
||||
"islamic-tbla",
|
||||
"islamic-civil",
|
||||
"islamic-rgsa",
|
||||
"iso8601",
|
||||
"japanese",
|
||||
"persian",
|
||||
"roc"
|
||||
"roc",
|
||||
"islamicc",
|
||||
];
|
||||
|
||||
// this assumes the default values where the specification provides them
|
||||
|
|
Loading…
Reference in New Issue