diff --git a/commonlibrary/ets_utils/containerRelation_lib_standard/src/main/js/test/HashMap.test.js b/commonlibrary/ets_utils/containerRelation_lib_standard/src/main/js/test/HashMap.test.js index d190838fb30e9177f37c512a8b59379361171e43..879c715b2657509a85dfa00a2f88b602e2bf40ee 100644 --- a/commonlibrary/ets_utils/containerRelation_lib_standard/src/main/js/test/HashMap.test.js +++ b/commonlibrary/ets_utils/containerRelation_lib_standard/src/main/js/test/HashMap.test.js @@ -460,7 +460,8 @@ describe("HashMapTest", function () { hashMap.set(5, "E"); let res = hashMap.keys(); for (let i = 0; i < hashMap.length; i++) { - console.log(res.next()); + let result = hashMap.hasKey(res.next().value); + expect(result).assertEqual(true); } });