提交 1564f013 编写于 作者: L lwx1121892

<liuxueqi3@huawei.com>

Signed-off-by: Nlwx1121892 <liuxueqi3@huawei.com>
上级 8329ca49
......@@ -17,7 +17,7 @@ import image from '@ohos.multimedia.image'
import fileio from '@ohos.fileio'
import { describe, beforeAll, beforeEach, afterEach, afterAll, it, expect } from '@ohos/hypium'
import { testPng, testJpg } from './testImg'
import { tcBuf020, tc_020_1Buf, tcBuf021, tcBuf021_1, tcBuf022 } from './testImg'
import { tcBuf020, tcBuf020_1, tcBuf021, tcBuf021_1, tcBuf022 } from './testImg'
import featureAbility from '@ohos.ability.featureAbility'
export default function imageJsTest() {
......@@ -394,7 +394,7 @@ export default function imageJsTest() {
var bufferArr = new Uint8Array(readBuffer);
var res = true;
for (var i = 0; i < bufferArr.length; i++) {
if (bufferArr[i] != tc_020_1Buf[i]) {
if (bufferArr[i] != tcBuf020_1[i]) {
res = false;
console.info('TC_020-1 failed');
expect(false).assertTrue();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册