fix(curriculum): fix typo in string ending checker lab (#61574)

This commit is contained in:
Fatai Alimi
2025-07-29 17:31:43 +01:00
committed by GitHub
parent ca3f88b022
commit 97e4b650e4
@@ -84,12 +84,12 @@ assert.isFalse(confirmEnding('Open sesame', 'sage'));
assert.isFalse(confirmEnding('Open sesame', 'game'));
```
`confirmEnding("If you want to save our world, you must hurry. We dont know how much longer we can withstand the nothing", "mountain")` should return `false`.
`confirmEnding("If you want to save our world, you must hurry. We don't know how much longer we can withstand the nothing", "mountain")` should return `false`.
```js
assert.isFalse(
confirmEnding(
'If you want to save our world, you must hurry. We dont know how much longer we can withstand the nothing',
"If you want to save our world, you must hurry. We don't know how much longer we can withstand the nothing",
'mountain'
)
);