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

!4397 Modify the removeByRange of the container ArrayList in the Beta branch

Merge pull request !4397 from zhangjixing/xts_Beta
......@@ -1058,10 +1058,8 @@ describe("ArraylistTest", function () {
arrayList.add("b");
arrayList.add("c");
arrayList.add(1);
arrayList.removeByRange(0, 8);
arrayList.removeByRange(0, 9);
let res = arrayList.length;
let res1 = arrayList.getLastIndexOf(1);
expect(res).assertEqual(1);
expect(res1).assertEqual(0);
expect(res).assertEqual(0);
});
});
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册