mirror of
https://github.com/tc39/test262.git
synced 2025-07-26 15:34:29 +02:00
change the removed unit 'generic' to 'gigabit'
This commit is contained in:
parent
0c67d0f1b7
commit
9b0d09eb11
@ -20,7 +20,7 @@ const validOptions = [
|
|||||||
];
|
];
|
||||||
|
|
||||||
for (const [validOption, expected] of validOptions) {
|
for (const [validOption, expected] of validOptions) {
|
||||||
const nf = new Intl.NumberFormat([], {"style": validOption, "unit": "generic"});
|
const nf = new Intl.NumberFormat([], {"style": validOption, "unit": "gigabit"});
|
||||||
const resolvedOptions = nf.resolvedOptions();
|
const resolvedOptions = nf.resolvedOptions();
|
||||||
assert.sameValue(resolvedOptions.style, expected);
|
assert.sameValue(resolvedOptions.style, expected);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user