diff --git a/communication/dsoftbus/rpc/src/main/js/default/test/RpcJsunit.test.js b/communication/dsoftbus/rpc/src/main/js/default/test/RpcJsunit.test.js index fb3261426e6fe2065a6062a9f9a4aa8fa1325003..e149a668c004eadf88a0a6561ed36972422873f4 100644 --- a/communication/dsoftbus/rpc/src/main/js/default/test/RpcJsunit.test.js +++ b/communication/dsoftbus/rpc/src/main/js/default/test/RpcJsunit.test.js @@ -1198,7 +1198,7 @@ describe('ActsRpcJsTest', function(){ var data = rpc.MessageParcel.create(); console.log("SUB_Softbus_IPC_MessageParcel_3500: create object successfully."); - var errorStringArryData = ['abc', 123, 'beauty']; + var errorStringArryData = ['abc' , '123' , 'beauty']; var errorWriteStringArrayResult = data.writeStringArray(errorStringArryData); console.log("SUB_Softbus_IPC_MessageParcel_3500: run writeStringArray success, result is " + errorWriteStringArrayResult); @@ -1212,4 +1212,4 @@ describe('ActsRpcJsTest', function(){ }); console.log("-----------------------ActsRpcJsTest is end-----------------------"); -}); \ No newline at end of file +});