提交 2cfac471 编写于 作者: Y y00314596

modify case by yangqing3@huawei.com

Signed-off-by: Ny00314596 <yangqing3@huawei.com>
上级 06083771
......@@ -1062,7 +1062,7 @@ describe('intlTest', function () {
* @tc.desc check the number with unitUsage
*/
it('formatNumber_test_2250', 0, function () {
let numfmt = new intl.NumberFormat('zh-CN', { style: 'unit', unit: 'meter',
let numfmt = new Intl.NumberFormat('zh-CN', { style: 'unit', unit: 'meter',
unitDisplay: 'long', unitUsage: 'length-road' });
console.log('formatNumber_test_2250 ' + numfmt.format(123456.789));
expect(numfmt.format(123456.789)).assertEqual('123,456.789米');
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册