fix: add test

This commit is contained in:
Jungwoo
2024-04-05 17:03:25 +09:00
committed by Philip K.F. Hölzenspies
parent 35490dc559
commit 0f9ef53126
3 changed files with 4 additions and 1 deletions

View File

@@ -58,7 +58,7 @@ final class MergeSort {
SortComparatorNode comparator,
@Nullable VmFunction function) {
if (comparator.executeWith(array[mid-1], array[mid], function)) {
if (comparator.executeWith(array[mid - 1], array[mid], function)) {
return; // already sorted
}