diff --git a/arkui/ace_ets_component_four/entry/src/main/ets/test/ImageJsunit.test.ets b/arkui/ace_ets_component_four/entry/src/main/ets/test/ImageJsunit.test.ets index 3b298bc4f018bcd67e16a731a91193842a07fe55..8fd4a9ce5d8ce9a8c6649fb2dd5df574c5d88d3d 100644 --- a/arkui/ace_ets_component_four/entry/src/main/ets/test/ImageJsunit.test.ets +++ b/arkui/ace_ets_component_four/entry/src/main/ets/test/ImageJsunit.test.ets @@ -66,12 +66,12 @@ export default function imageJsunit() { let obj = JSON.parse(strJson); console.info("imageTest_0200 obj.$attrs.src is: " + obj.$attrs.src); console.info("imageTest_0200 obj.obj.$type is: " + obj.$type); - var res = obj.$attrs.src.indexOf('RAWFILE/test.png'); + var res = obj.$attrs.src.indexOf('rawfile/test.png'); console.info("imageTest_0200 result is: " + res); var sres = obj.$attrs.src.slice(res, res + 16); console.info("imageTest_0200 slice result is: " + sres); expect(obj.$type).assertEqual('Image'); - expect(obj.$attrs.src.slice(res, res + 16)).assertEqual('RAWFILE/test.png'); + expect(obj.$attrs.src.slice(res, res + 16)).assertEqual('rawfile/test.png'); console.info('imageTest_0200 END'); done(); });