未验证 提交 d4be23ff 编写于 作者: O openharmony_ci 提交者: Gitee

!2762 update cache path同步Release分支

Merge pull request !2762 from dy/OpenHarmony-3.1-Release
......@@ -47,11 +47,11 @@ export default function ContextJsunit() {
})
} catch (error) {
console.log("logMessage context_getCacheDir_test_0100: error = " + error);
expect(error).assertEqual("/data/storage/el2/base/haps/entry/caches");
expect(error).assertEqual("/data/storage/el2/base/haps/entry/cache");
}
var data1 = await context.getCacheDir();
expect(typeof (data1)).assertEqual("string");
expect(data1).assertEqual("/data/storage/el2/base/haps/entry/caches");
expect(data1).assertEqual("/data/storage/el2/base/haps/entry/cache");
done();
console.log("------------------end context_getCacheDir_test_0100-------------------");
});
......@@ -74,11 +74,11 @@ export default function ContextJsunit() {
});
} catch (error) {
console.log("logMessage context_getCacheDir_test_0200: error = " + error);
expect(error).assertEqual("/data/storage/el2/base/haps/entry/caches");
expect(error).assertEqual("/data/storage/el2/base/haps/entry/cache");
}
var data1 = await context.getCacheDir();
expect(typeof (data1)).assertEqual("string");
expect(data1).assertEqual("/data/storage/el2/base/haps/entry/caches");
expect(data1).assertEqual("/data/storage/el2/base/haps/entry/cache");
done();
console.log("------------------end context_getCacheDir_test_0200-------------------");
});
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册