Skip to content

Commit 3068fd6

Browse files
committed
Fix
1 parent e69d42a commit 3068fd6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/com/thealgorithms/searches/FibonacciSearchTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ void testFibonacciSearchNullKey() {
116116
@Test
117117
void testFibonacciSearchLargeArray() {
118118
FibonacciSearch fibonacciSearch = new FibonacciSearch();
119-
Integer[] array = IntStream.range(0, 10000).boxed().toArray(Integer[]::new); // Array from 0 to 9999
119+
Integer[] array = IntStream.range(0, 10000).boxed().toArray(Integer[] ::new); // Array from 0 to 9999
120120
int key = 9999; // Last element
121121
int expectedIndex = 9999; // Index of the last element
122122
assertEquals(expectedIndex, fibonacciSearch.find(array, key), "The index of the last element should be 9999.");

0 commit comments

Comments
 (0)