mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
fix(curriculum): fix typo in string ending checker lab (#61574)
This commit is contained in:
+2
-2
@@ -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'
|
||||
)
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user