Skip to content

Commit ec44bf1

Browse files
authored
Update CircularDoublyLinkedListTest.java
fixed lint issues
1 parent 4442551 commit ec44bf1

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/test/java/com/thealgorithms/datastructures/lists/CircularDoublyLinkedListTest.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,8 @@ public void testRemoveInvalidIndex() {
5353
list.append(10);
5454
list.append(20);
5555

56-
assertThrows(IndexOutOfBoundsException.class, () -> list.remove(2),
57-
"Removing at invalid index 2 should throw exception.");
58-
assertThrows(IndexOutOfBoundsException.class, () -> list.remove(-1),
59-
"Removing at negative index should throw exception.");
56+
assertThrows(IndexOutOfBoundsException.class, () -> list.remove(2), "Removing at invalid index 2 should throw exception.");
57+
assertThrows(IndexOutOfBoundsException.class, () -> list.remove(-1), "Removing at negative index should throw exception.");
6058
}
6159

6260
@Test

0 commit comments

Comments
 (0)