提交 788806f7 编写于 作者: I inter515

代码规范修改-断言修改

Signed-off-by: Ninter515 <ry.renyi@huawei.com>
上级 cd6afaca
...@@ -45,7 +45,7 @@ describe('ActsBmsQueryAbilityByWant', function () { ...@@ -45,7 +45,7 @@ describe('ActsBmsQueryAbilityByWant', function () {
entities: ['entity.system.home'], entities: ['entity.system.home'],
bundleName: BUNDLE_NAME1 bundleName: BUNDLE_NAME1
}, bundle.BundleFlag.GET_ABILITY_INFO_WITH_APPLICATION | bundle.BundleFlag.GET_ABILITY_INFO_SYSTEMAPP_ONLY, USERID).then(data => { }, bundle.BundleFlag.GET_ABILITY_INFO_WITH_APPLICATION | bundle.BundleFlag.GET_ABILITY_INFO_SYSTEMAPP_ONLY, USERID).then(data => {
expect(data).assertEqual("QueryAbilityInfos failed"); expect(data).assertFail();
}).catch(err => { }).catch(err => {
expect(err).assertEqual(1); expect(err).assertEqual(1);
}); });
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册