From 2e73e5a260e45ae7850d6eab85b57c33c4dbbec7 Mon Sep 17 00:00:00 2001 From: gaoxi Date: Mon, 25 Jul 2022 10:11:04 +0800 Subject: [PATCH] modify codeCheck fail Signed-off-by: gaoxi --- .../main/js/default/test/PasteBoard2Jsunit.test.js | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/miscservices/actspasteboardjsapitest/entry/src/main/js/default/test/PasteBoard2Jsunit.test.js b/miscservices/actspasteboardjsapitest/entry/src/main/js/default/test/PasteBoard2Jsunit.test.js index f4ec8baa4..624f16be5 100644 --- a/miscservices/actspasteboardjsapitest/entry/src/main/js/default/test/PasteBoard2Jsunit.test.js +++ b/miscservices/actspasteboardjsapitest/entry/src/main/js/default/test/PasteBoard2Jsunit.test.js @@ -56,7 +56,16 @@ describe('PasteBoardTest2', function () { */ it('pasteboard_function_test72', 0, async function (done) { console.info('SUB_pasteBoard_function_JS_API_7200 start') - var html = "\n" + "\n" + "\n" + "\n" + "HTML-PASTEBOARD_HTML\n" + "\n" + "\n" + "

HEAD

\n" + "

\n" + "\n" + ""; + var html = "\n" + + "\n" + "\n" + + "\n" + + "HTML-PASTEBOARD_HTML\n" + + "\n" + + "\n" + + "

HEAD

\n" + + "

\n" + + "\n" + + ""; var pasteData = pasteboard.createHtmlData(html); var htmlText = pasteData.getPrimaryHtml(); expect(htmlText != null).assertTrue(); -- GitLab