mirror of
https://github.com/tc39/test262.git
synced 2025-07-02 03:34:37 +02:00
Fix expectation of "compact" notation
This commit is contained in:
parent
4b7f8b49cc
commit
54ef0b1bf4
@ -28,6 +28,6 @@ assert.sameValue(nf.format(100000), '100,000', '"min2"');
|
|||||||
nf = new Intl.NumberFormat('en-US', {notation: 'compact'});
|
nf = new Intl.NumberFormat('en-US', {notation: 'compact'});
|
||||||
|
|
||||||
assert.sameValue(nf.format(100), '100', 'notation: "compact"');
|
assert.sameValue(nf.format(100), '100', 'notation: "compact"');
|
||||||
assert.sameValue(nf.format(1000), '1000', 'notation: "compact"');
|
assert.sameValue(nf.format(1000), '1K', 'notation: "compact"');
|
||||||
assert.sameValue(nf.format(10000), '10,000', 'notation: "compact"');
|
assert.sameValue(nf.format(10000), '10K', 'notation: "compact"');
|
||||||
assert.sameValue(nf.format(100000), '100,000', 'notation: "compact"');
|
assert.sameValue(nf.format(100000), '100K', 'notation: "compact"');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user