diff --git a/multimedia/image/image_js_standard/imageExif/src/main/js/test/image.test.js b/multimedia/image/image_js_standard/imageExif/src/main/js/test/image.test.js index c7d5b82a2387c84e616c1c9e86b03b5ef8c48e2d..69c0c9c6f3c62837274778d9be069b3d5a81fa9c 100644 --- a/multimedia/image/image_js_standard/imageExif/src/main/js/test/image.test.js +++ b/multimedia/image/image_js_standard/imageExif/src/main/js/test/image.test.js @@ -290,7 +290,7 @@ describe('Image', function () { * @tc.number : TC_001-9 * @tc.name : create pixelmap-callback(editable: true, pixelFormat: unsupported format, size: { height: 6, width: 8 }) * @tc.desc : 1.create InitializationOptions object - * 2.set editable,pixeFormat,size + * 2.set editable,pixeFormat,size(Unsupported formats are converted to RGBA_8888) * 3.using color and opts create newPixelMap * 4.return newpixelmap empty * @tc.size : MEDIUM @@ -302,7 +302,7 @@ describe('Image', function () { let opts = { editable: true, pixelFormat: 21, size: { height: 6, width: 8 } } image.createPixelMap(Color, opts, (err, pixelmap) => { globalpixelmap = pixelmap; - expect(pixelmap == undefined).assertTrue(); + expect(pixelmap != undefined).assertTrue(); console.info('TC_001-9 success'); done(); })