Skip to content

Commit 03a705f

Browse files
committed
refactor: fix checkstyle
1 parent 62380da commit 03a705f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/com/thealgorithms/others/TwoPointersTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ void testPairExistsAtEdges() {
7474

7575
@Test
7676
void isPairedSum_shouldThrowException_whenArrayIsNull() {
77-
IllegalArgumentException exception = assertThrows(IllegalArgumentException.class, () -> {TwoPointers.isPairedSum(null, 10);});
77+
IllegalArgumentException exception = assertThrows(IllegalArgumentException.class, () -> TwoPointers.isPairedSum(null, 10));
7878
assertEquals("Input array must not be null.", exception.getMessage());
7979
}
8080
}

0 commit comments

Comments
 (0)