提交 a7afd973 编写于 作者: Y y00314596

yangqing3@huawei.com

Signed-off-by: Ny00314596 <yangqing3@huawei.com>
上级 fbc19a85
......@@ -1000,7 +1000,8 @@ describe('intlTest', function () {
let numfmt = new Intl.NumberFormat('en-US', { style: 'currency', currency: 'USD',
currencyDisplay: 'code', currencySign: 'accounting', signDisplay: 'always' });
console.log('formatNumber_test_1800 ' + numfmt.format(123456.789));
expect(numfmt.format(123456.789)).assertEqual('+USD 123,456.79');
expect(numfmt.format(123456.789)).assertContain('+USD');
expect(numfmt.format(123456.789)).assertContain('123,456.79');
})
/* *
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册