diff --git a/distributeddatamgr/Pasteboardjsapitest/entry/src/main/ets/test/PasteBoardEtsunitTest.ets b/distributeddatamgr/Pasteboardjsapitest/entry/src/main/ets/test/PasteBoardEtsunitTest.ets index 40b783ff624e37e3d375aa3c0ff7717dbaa7c1e5..f79da3b0a1338a0a85b075aa3142bd33facbbc32 100644 --- a/distributeddatamgr/Pasteboardjsapitest/entry/src/main/ets/test/PasteBoardEtsunitTest.ets +++ b/distributeddatamgr/Pasteboardjsapitest/entry/src/main/ets/test/PasteBoardEtsunitTest.ets @@ -2139,10 +2139,7 @@ export default function pasteBoardJEtsunitTest() { }); }); }); - - console.info('SUB_pasteBoard_function_JS_API_3900 end'); - done(); - }) + }); }); }); }); @@ -2198,7 +2195,7 @@ export default function pasteBoardJEtsunitTest() { systemPasteboard.getPasteData().then((data) => { var pasteData2 = data; var pasteDataProperty1 = pasteData2.getProperty(); - expect(pasteDataProperty1.tag = "Test").assertTrue(); + expect(pasteDataProperty1.tag == "Test").assertTrue(); console.info('f_test40: timestamp = ' + pasteDataProperty1.timestamp); console.info('f_test40: tag = ' + pasteDataProperty1.tag);