mirror of https://github.com/tc39/test262.git
Merge pull request #2167 from FrankYFTang/patch-1
change the removed unit 'generic' to 'gigabit'
This commit is contained in:
commit
7d4c264cc8
|
@ -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…
Reference in New Issue