Skip to content

Commit 9f46b4c

Browse files
Clang Format linter check resolved
1 parent c59956b commit 9f46b4c

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/test/java/com/thealgorithms/sorts/DarkSortTest.java

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
package com.thealgorithms.sorts;
22

33
import static org.junit.jupiter.api.Assertions.assertArrayEquals;
4-
import static org.junit.jupiter.api.Assertions.assertThrows;
54
import static org.junit.jupiter.api.Assertions.assertNull;
5+
import static org.junit.jupiter.api.Assertions.assertThrows;
66

77
import org.junit.jupiter.api.Test;
88

@@ -80,10 +80,6 @@ void testNonIntegerArray() {
8080
DarkSort darkSort = new DarkSort();
8181

8282
// DarkSort should throw an IllegalArgumentException for non-integer arrays
83-
assertThrows(
84-
IllegalArgumentException.class,
85-
() -> darkSort.sort(unsorted),
86-
"DarkSort only supports Integer arrays."
87-
);
83+
assertThrows(IllegalArgumentException.class, () -> darkSort.sort(unsorted), "DarkSort only supports Integer arrays.");
8884
}
8985
}

0 commit comments

Comments
 (0)