提交 0468a09a 编写于 作者: Y y00314596 提交者: 杨清

fixed 25e978e2 from https://gitee.com/yangqing3/xts_acts/pulls/8345

add by yangqing3@huawei.com
Signed-off-by: Ny00314596 <yangqing3@huawei.com>
上级 a350846a
...@@ -1204,7 +1204,7 @@ describe('intlTest', function () { ...@@ -1204,7 +1204,7 @@ describe('intlTest', function () {
let numfmt = new Intl.NumberFormat('en-CN', { style: 'percent', maximumFractionDigits: 2, let numfmt = new Intl.NumberFormat('en-CN', { style: 'percent', maximumFractionDigits: 2,
minimumIntegerDigits: 7 }); minimumIntegerDigits: 7 });
console.log('formatNumber_test_2300 ' + numfmt.format(123456.789)); console.log('formatNumber_test_2300 ' + numfmt.format(123456.789));
expect(numfmt.format(123456.789)).assertEqual('0,123,456.79%'); expect(numfmt.format(123456.789)).assertEqual('12,345,678.9%');
}) })
/* * /* *
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册