mirror of
https://github.com/TheAlgorithms/Java.git
synced 2026-03-13 08:40:43 +08:00
style: include UTAO_JUNIT_ASSERTION_ODDITIES_ACTUAL_CONSTANT (#7239)
This commit is contained in:
@@ -17,7 +17,7 @@ public class MedianOfRunningArrayTest {
|
||||
public void testWhenInvalidInoutProvidedShouldThrowException() {
|
||||
var stream = new MedianOfRunningArrayInteger();
|
||||
IllegalArgumentException exception = assertThrows(IllegalArgumentException.class, stream::getMedian);
|
||||
assertEquals(exception.getMessage(), EXCEPTION_MESSAGE);
|
||||
assertEquals(EXCEPTION_MESSAGE, exception.getMessage());
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
Reference in New Issue
Block a user