提交 e9478927 编写于 作者: O openharmony_ci 提交者: Gitee

!758 sync case from master to lts

Merge pull request !758 from 杨清/cherry-pick-1632645852
......@@ -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.
先完成此消息的编辑!
想要评论请 注册