Commit d809bfeb authored by Adam Blank's avatar Adam Blank
Browse files

Fix iterator test

parent f118f68e
Pipeline #76519 failed with stage
in 0 seconds
Showing with 2 additions and 2 deletions
+2 -2
......@@ -76,8 +76,8 @@ public class LinkedDequeTests {
@Test
public void testIteratorCreationconstant() {
Function<Integer, IDeque<Integer>> provide = (Integer numElements) -> {
Constructor c = Reflection.getConstructor(LinkedDeque.class, int.class);
IDeque<Integer> q = Reflection.newInstance(c, numElements * 2);
Constructor c = Reflection.getConstructor(LinkedDeque.class);
IDeque<Integer> q = Reflection.newInstance(c );
for (int i = 0; i < numElements; i++) {
q.addBack(i);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment