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

!8180 Modify the forEach interface XTS in ArrayList to 3.2Release

Merge pull request !8180 from bwx1067111/cherry-pick-1679573648
......@@ -1174,7 +1174,7 @@ describe("ArraylistTest", function () {
it('testForEach062', 0, function () {
let arrayList = new ArrayList();
try {
arrayList.forEach.bind({}, "a")(() => {});
arrayList.forEach.bind({}, "a")();
expect(true).assertEqual(false);
} catch (err) {
expect(err.name).assertEqual("BusinessError");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册