提交 05236892 编写于 作者: Z zjx

Amend ArrayList removeByRange

Description
 Modify removebyrange in ArrayList
Related issue
 #I5HTC4:Modify removebyrange in ArrayList
Signed-off-by: Nzjx <zhangjixing4@huawei.com>
上级 5a232233
......@@ -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.
先完成此消息的编辑!
想要评论请 注册