提交 46ff34cb 编写于 作者: C chenkai008

修改测试用例

Signed-off-by: Nchenkai008 <chenkai154@huawei.com>
上级 728a8f7f
...@@ -112,7 +112,7 @@ describe("volumeManager", function () { ...@@ -112,7 +112,7 @@ describe("volumeManager", function () {
await volumeManager.getAllVolumes(2); await volumeManager.getAllVolumes(2);
} catch (error) { } catch (error) {
console.log(`volume_manager_test_get_all_Volumes_async_002 has failed for error ${error}`); console.log(`volume_manager_test_get_all_Volumes_async_002 has failed for error ${error}`);
expect(isInclude(error, "The callback shall be a funciton")).assertTrue(); expect(isInclude(error, "The callback shall be a function")).assertTrue();
} }
done(); done();
}); });
...@@ -132,7 +132,7 @@ describe("volumeManager", function () { ...@@ -132,7 +132,7 @@ describe("volumeManager", function () {
expect(null).assertFail(); expect(null).assertFail();
} catch (error) { } catch (error) {
console.log(`volume_manager_test_get_all_Volumes_async_003 has failed for error ${error}`); console.log(`volume_manager_test_get_all_Volumes_async_003 has failed for error ${error}`);
expect(isInclude(error, "The callback shall be a funciton")).assertTrue(); expect(isInclude(error, "The callback shall be a function")).assertTrue();
} }
done(); done();
}); });
...@@ -157,7 +157,7 @@ describe("volumeManager", function () { ...@@ -157,7 +157,7 @@ describe("volumeManager", function () {
console.log(`volume_manager_test_get_all_Volumes_async_004 has failed f console.log(`volume_manager_test_get_all_Volumes_async_004 has failed f
or error ${error}`); or error ${error}`);
expect(isInclude(error, "The callback shall be a funciton")).assertTrue(); expect(isInclude(error, "The callback shall be a function")).assertTrue();
} }
done(); done();
}); });
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册