fix(curriculum): Merge Sort algorithm step 10 requires spaces to pass (#55980)

Co-authored-by: Lasse Jørgensen <28780271+lasjorg@users.noreply.github.com>
pull/56002/head
SUBHADIP JANA 2024-09-04 03:18:11 +05:30 committed by GitHub
parent e7e0388dc7
commit 3c85dac5f5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 3 deletions

View File

@ -24,7 +24,7 @@ You should have a variable named `left_array_index` inside your `merge_sort` fun
const merge_sort = __helpers.python.getDef("\n" + transformedCode, "merge_sort");
const { function_body } = merge_sort;
assert.match(function_body, /left_array_index\s*(?!=)/);
assert.match(function_body, /left_array_index/);
}
})
```
@ -52,7 +52,7 @@ You should have a variable named `right_array_index` inside your `merge_sort` fu
const merge_sort = __helpers.python.getDef("\n" + transformedCode, "merge_sort");
const { function_body } = merge_sort;
assert.match(function_body, /right_array_index\s*(?!=)/);
assert.match(function_body, /right_array_index/);
}
})
```
@ -81,7 +81,7 @@ You should have a variable named `sorted_index` inside your `merge_sort` functio
const merge_sort = __helpers.python.getDef("\n" + transformedCode, "merge_sort");
const { function_body } = merge_sort;
assert.match(function_body, /sorted_index\s*(?!=)/);
assert.match(function_body, /sorted_index/);
}
})
```