Update Intl tests to recognize microsecond and nanosecond as sanctioned

These were added to the list of sanctioned units in a normative change:
https://github.com/tc39/ecma402/commit/f627573
This commit is contained in:
Timothy Flynn 2022-11-04 14:50:15 -04:00 committed by Philip Chimento
parent 5d8ebdff05
commit f6c48f333e
2 changed files with 2 additions and 2 deletions

View File

@ -2321,6 +2321,7 @@ function allSimpleSanctionedUnits() {
"megabit", "megabit",
"megabyte", "megabyte",
"meter", "meter",
"microsecond",
"mile", "mile",
"mile-scandinavian", "mile-scandinavian",
"milliliter", "milliliter",
@ -2328,6 +2329,7 @@ function allSimpleSanctionedUnits() {
"millisecond", "millisecond",
"minute", "minute",
"month", "month",
"nanosecond",
"ounce", "ounce",
"percent", "percent",
"petabyte", "petabyte",

View File

@ -61,7 +61,6 @@ const units = [
"metric-ton", "metric-ton",
"microgram", "microgram",
"micrometer", "micrometer",
"microsecond",
"milliampere", "milliampere",
"millibar", "millibar",
"milligram", "milligram",
@ -69,7 +68,6 @@ const units = [
"milliwatt", "milliwatt",
"month-person", "month-person",
"nanometer", "nanometer",
"nanosecond",
"nautical-mile", "nautical-mile",
"ohm", "ohm",
"ounce-troy", "ounce-troy",