diff --git a/distributeddatamgr/UDMFtest/UDMFtest/entry/src/main/ets/test/UDMF.test.ets b/distributeddatamgr/UDMFtest/UDMFtest/entry/src/main/ets/test/UDMF.test.ets index 098aaa51af0fb9a63dd51aa1da1a5d6a7aaa2aec..9221d51a878e01d9456c0a5098368f1e775f676c 100644 --- a/distributeddatamgr/UDMFtest/UDMFtest/entry/src/main/ets/test/UDMF.test.ets +++ b/distributeddatamgr/UDMFtest/UDMFtest/entry/src/main/ets/test/UDMF.test.ets @@ -19,7 +19,7 @@ import uniformTypeDescriptor from '@ohos.data.uniformTypeDescriptor'; export default function UDMFApiTest() { describe('UDMFApiTest', function () { - console.info('---start UDMFApiTest--'); + console.info('start UDMFApiTest'); let text = new unifiedDataChannel.Text(); text.details = { title:"标题", @@ -191,7 +191,7 @@ export default function UDMFApiTest() { console.info('SUB_DistributedData_Udmf_API003 start'); let unifiedData = new unifiedDataChannel.UnifiedData(link); let records = unifiedData.getRecords(); - let record = (records[0]); + let record = (records[0]); expect(records.length).assertEqual(1); expect(record.details.title).assertEqual('标题'); expect(record.details.content).assertEqual('内容'); @@ -213,7 +213,7 @@ export default function UDMFApiTest() { console.info('SUB_DistributedData_Udmf_API004 start'); let unifiedData = new unifiedDataChannel.UnifiedData(html); let records = unifiedData.getRecords(); - let record = (records[0]); + let record = (records[0]); expect(records.length).assertEqual(1); expect(record.details.title).assertEqual('标题'); expect(record.details.content).assertEqual('内容');