Skip to content

Commit 86890f7

Browse files
committed
Fixed linter errors in test fike
1 parent 41644d8 commit 86890f7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,9 +203,9 @@ void testSentinelLinearSearchArrayIntegrity() {
203203
Integer[] array = {1, 2, 3, 4, 5};
204204
Integer[] originalArray = array.clone(); // Keep a copy of the original
205205
Integer key = 3; // Element to find
206-
206+
207207
sentinelLinearSearch.find(array, key);
208-
208+
209209
// Verify array is unchanged
210210
for (int i = 0; i < array.length; i++) {
211211
assertEquals(originalArray[i], array[i], "Array should remain unchanged after search.");

0 commit comments

Comments
 (0)