未验证 提交 41f025e1 编写于 作者: O openharmony_ci 提交者: Gitee

!6157 获取键盘类型用例修复

Merge pull request !6157 from mayunteng/20221018
...@@ -181,7 +181,7 @@ describe('MultimodalInput_Device_test', function () { ...@@ -181,7 +181,7 @@ describe('MultimodalInput_Device_test', function () {
try { try {
inputDevice.getKeyboardType(-1); inputDevice.getKeyboardType(-1);
} catch (error) { } catch (error) {
expect(error.message).assertEqual("getKeyboardType: \"The second parameter type is wrong\""); expect(error.message).assertEqual("Invalid input device id");
} }
console.info(`inputDevice::getKeyboardType_test-02 exit`); console.info(`inputDevice::getKeyboardType_test-02 exit`);
}); });
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册