Skip to content

Commit 62380da

Browse files
committed
refactor: fix test formatting
1 parent e888f46 commit 62380da

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

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

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

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

0 commit comments

Comments
 (0)