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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy