Skip to content

Commit 3c85dac

Browse files
fix(curriculum): Merge Sort algorithm step 10 requires spaces to pass (freeCodeCamp#55980)
Co-authored-by: Lasse Jørgensen <[email protected]>
1 parent e7e0388 commit 3c85dac

File tree

1 file changed

+3
-3
lines changed
  • curriculum/challenges/english/07-scientific-computing-with-python/learn-data-structures-by-building-the-merge-sort-algorithm

1 file changed

+3
-3
lines changed

curriculum/challenges/english/07-scientific-computing-with-python/learn-data-structures-by-building-the-merge-sort-algorithm/656680b0fc79f2c38a34d90e.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ You should have a variable named `left_array_index` inside your `merge_sort` fun
2424
const merge_sort = __helpers.python.getDef("\n" + transformedCode, "merge_sort");
2525
const { function_body } = merge_sort;
2626

27-
assert.match(function_body, /left_array_index\s*(?!=)/);
27+
assert.match(function_body, /left_array_index/);
2828
}
2929
})
3030
```
@@ -52,7 +52,7 @@ You should have a variable named `right_array_index` inside your `merge_sort` fu
5252
const merge_sort = __helpers.python.getDef("\n" + transformedCode, "merge_sort");
5353
const { function_body } = merge_sort;
5454

55-
assert.match(function_body, /right_array_index\s*(?!=)/);
55+
assert.match(function_body, /right_array_index/);
5656
}
5757
})
5858
```
@@ -81,7 +81,7 @@ You should have a variable named `sorted_index` inside your `merge_sort` functio
8181
const merge_sort = __helpers.python.getDef("\n" + transformedCode, "merge_sort");
8282
const { function_body } = merge_sort;
8383

84-
assert.match(function_body, /sorted_index\s*(?!=)/);
84+
assert.match(function_body, /sorted_index/);
8585
}
8686
})
8787
```

0 commit comments

Comments
 (0)