未验证 提交 4bf5c9ac 编写于 作者: O openharmony_ci 提交者: Gitee

!3179 【startup】【master】修改startup中testDeviceApiVersion01失败用例

Merge pull request !3179 from limeng/kernel_lite_20220515_01_master
...@@ -202,14 +202,6 @@ describe('SystemDeviceTest', function () { ...@@ -202,14 +202,6 @@ describe('SystemDeviceTest', function () {
ret = true; ret = true;
} }
expect(ret).assertTrue(); expect(ret).assertTrue();
let str = /^[A-Za-z]+$/g;
let arr = apiVersionInfo.toString().match(str);
let substr = arr.join('');
let numstr = parseInt(substr);
console.info('the value of the bufferstr is :' + numstr);
expect(apiVersionInfo).assertEqual(numstr);
console.info('testDeviceApiVersion01 :end'); console.info('testDeviceApiVersion01 :end');
}) })
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册