diff --git a/distributeddatamgr/Pasteboardjsapitest/entry/src/main/ets/test/PasteBoardRecord.test.ets b/distributeddatamgr/Pasteboardjsapitest/entry/src/main/ets/test/PasteBoardRecord.test.ets index ca7274f376e65824eb73f6146c6dc0012c02224d..ab975864931151277532718304da40eed30480d2 100644 --- a/distributeddatamgr/Pasteboardjsapitest/entry/src/main/ets/test/PasteBoardRecord.test.ets +++ b/distributeddatamgr/Pasteboardjsapitest/entry/src/main/ets/test/PasteBoardRecord.test.ets @@ -59,7 +59,7 @@ export default function pasteBoardRecordTest(){ }) let pixelMapRecord = pasteData.getPrimaryPixelMap() expect(pixelMapRecord != null).assertTrue(); - expect(pixelMapRecord.getPixelBytesNumber() > 0).assertEqual(60); + expect(pixelMapRecord.getPixelBytesNumber()).assertEqual(60); console.info("SUB_PASTEBOARD_FUNCTION_ETS_CREATEDATA_0100 end") done(); })