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

!8175 Modify the forEach interface XTS in ArrayList

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