From 46ff34cb0b60f35a3d2f8d294f2a95fb3326da27 Mon Sep 17 00:00:00 2001 From: chenkai008 Date: Tue, 29 Mar 2022 18:17:41 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=B5=8B=E8=AF=95=E7=94=A8?= =?UTF-8?q?=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: chenkai008 --- .../src/main/js/default/test/VolumeManager.test.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/storage/storagevolumesjstest/src/main/js/default/test/VolumeManager.test.js b/storage/storagevolumesjstest/src/main/js/default/test/VolumeManager.test.js index d4694ac02..f24921a1d 100644 --- a/storage/storagevolumesjstest/src/main/js/default/test/VolumeManager.test.js +++ b/storage/storagevolumesjstest/src/main/js/default/test/VolumeManager.test.js @@ -112,7 +112,7 @@ describe("volumeManager", function () { await volumeManager.getAllVolumes(2); } catch (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(); }); @@ -132,7 +132,7 @@ describe("volumeManager", function () { expect(null).assertFail(); } catch (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(); }); @@ -157,7 +157,7 @@ describe("volumeManager", function () { console.log(`volume_manager_test_get_all_Volumes_async_004 has failed f or error ${error}`); - expect(isInclude(error, "The callback shall be a funciton")).assertTrue(); + expect(isInclude(error, "The callback shall be a function")).assertTrue(); } done(); }); -- GitLab