mirror of
https://github.com/TheAlgorithms/Java.git
synced 2026-03-13 08:40:43 +08:00
Add automatic linter (#4214)
This commit is contained in:
@@ -15,8 +15,7 @@ public class AbsoluteMinTest {
|
||||
|
||||
@Test
|
||||
void testGetMinValueWithNoArguments() {
|
||||
Exception exception
|
||||
= assertThrows(IllegalArgumentException.class, () -> AbsoluteMin.getMinValue());
|
||||
Exception exception = assertThrows(IllegalArgumentException.class, () -> AbsoluteMin.getMinValue());
|
||||
assertEquals("Numbers array cannot be empty", exception.getMessage());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user