Skip to content

Commit

Permalink
Fix test name for binary search exercise (#2883)
Browse files Browse the repository at this point in the history
This updates the test's name to reflect the ""a value larger than the array's largest value is not found" test from the problem specifications.

[no important files changed]

Fixes #2881
  • Loading branch information
akmaekki authored Dec 29, 2024
1 parent 6609226 commit a73fb98
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public void aValueSmallerThanTheArraysSmallestValueIsNotFound() {

@Disabled("Remove to run test")
@Test
public void aValueLargerThanTheArraysSmallestValueIsNotFound() throws ValueNotFoundException {
public void aValueLargerThanTheArraysLargestValueIsNotFound() throws ValueNotFoundException {
List<Integer> sortedList = List.of(1, 3, 4, 6, 8, 9, 11);

BinarySearch search = new BinarySearch(sortedList);
Expand Down

0 comments on commit a73fb98

Please sign in to comment.