提交 f0e2e987 编写于 作者: D dy

update cache path

Signed-off-by: Ndy <dingyao5@huawei.com>
上级 142e3b4c
......@@ -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.
先完成此消息的编辑!
想要评论请 注册