mirror of
https://github.com/TheAlgorithms/Java.git
synced 2025-07-27 22:43:30 +08:00
Add automatic linter (#4214)
This commit is contained in:
@ -160,7 +160,6 @@ public class BinarySearch2dArrayTest {
|
||||
int target = 5;
|
||||
|
||||
// Assert that an empty array is not valid input for the method.
|
||||
assertThrows(ArrayIndexOutOfBoundsException.class,
|
||||
() -> BinarySearch2dArray.BinarySearch(arr, target));
|
||||
assertThrows(ArrayIndexOutOfBoundsException.class, () -> BinarySearch2dArray.BinarySearch(arr, target));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user