提交 2e73e5a2 编写于 作者: G gaoxi

modify codeCheck fail

Signed-off-by: Ngaoxi <gaoxi785@huawei.com>
上级 5b5fb3fb
......@@ -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 = "<!DOCTYPE html>\n" + "<html>\n" + "<head>\n" + "<meta charset=\"utf-8\">\n" + "<title>HTML-PASTEBOARD_HTML</title>\n" + "</head>\n" + "<body>\n" + " <h1>HEAD</h1>\n" + " <p></p>\n" + "</body>\n" + "</html>";
var html = "<!DOCTYPE html>\n"
+ "<html>\n" + "<head>\n"
+ "<meta charset=\"utf-8\">\n"
+ "<title>HTML-PASTEBOARD_HTML</title>\n"
+ "</head>\n"
+ "<body>\n"
+ " <h1>HEAD</h1>\n"
+ " <p></p>\n"
+ "</body>\n"
+ "</html>";
var pasteData = pasteboard.createHtmlData(html);
var htmlText = pasteData.getPrimaryHtml();
expect(htmlText != null).assertTrue();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册