From ba32f229fc99b8d7f9e74a63223c539a8b6869b8 Mon Sep 17 00:00:00 2001 From: mayunteng_1 Date: Thu, 3 Nov 2022 18:44:18 +0800 Subject: [PATCH] xts modify Signed-off-by: mayunteng_1 Change-Id: Id6a90cb54c2a642b9b3111482eb0e76fdd5abe41 --- .../input_js_standard/src/main/js/test/InputDevice.test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/multimodalinput/input_js_standard/src/main/js/test/InputDevice.test.js b/multimodalinput/input_js_standard/src/main/js/test/InputDevice.test.js index f03532405..93cd349df 100644 --- a/multimodalinput/input_js_standard/src/main/js/test/InputDevice.test.js +++ b/multimodalinput/input_js_standard/src/main/js/test/InputDevice.test.js @@ -136,7 +136,7 @@ describe('MultimodalInput_Device_test', function () { expect(false).assertTrue(); } else { for (let i = 0; i < data.length; ++i) { - inputDevice.supportKeys(data[i], [17, 22, 2055], (res, err) => { + inputDevice.supportKeys(data[i], [17, 22, 2055], (err, res) => { expect(res).assertInstanceOf('Array'); }); } @@ -166,7 +166,7 @@ describe('MultimodalInput_Device_test', function () { expect(false).assertTrue(); } else { for (let i = 0; i < data.length; ++i) { - inputDevice.getKeyboardType(data[i], (res, err) => { + inputDevice.getKeyboardType(data[i], (err, res) => { expect(res).assertInstanceOf('Number'); }); } -- GitLab