mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
fix(curriculum): correct spelling error from exlamation to exclamation (#63836)
This commit is contained in:
+2
-2
@@ -34,10 +34,10 @@ assert.equal(longestWord("Hello coding challenge."), "challenge");
|
||||
assert.equal(longestWord("Do Try This At Home."), "This");
|
||||
```
|
||||
|
||||
`longestWord("This sentence... has commas, ellipses, and an exlamation point!")` should return `"exlamation"`.
|
||||
`longestWord("This sentence... has commas, ellipses, and an exclamation point!")` should return `"exclamation"`.
|
||||
|
||||
```js
|
||||
assert.equal(longestWord("This sentence... has commas, ellipses, and an exlamation point!"), "exlamation");
|
||||
assert.equal(longestWord("This sentence... has commas, ellipses, and an exclamation point!"), "exclamation");
|
||||
```
|
||||
|
||||
`longestWord("A tie? No way!")` should return `"tie"`.
|
||||
|
||||
+2
-2
@@ -43,12 +43,12 @@ TestCase().assertEqual(longest_word("Do Try This At Home."), "This")`)
|
||||
}})
|
||||
```
|
||||
|
||||
`longest_word("This sentence... has commas, ellipses, and an exlamation point!")` should return `"exlamation"`.
|
||||
`longest_word("This sentence... has commas, ellipses, and an exclamation point!")` should return `"exclamation"`.
|
||||
|
||||
```js
|
||||
({test: () => { runPython(`
|
||||
from unittest import TestCase
|
||||
TestCase().assertEqual(longest_word("This sentence... has commas, ellipses, and an exlamation point!"), "exlamation")`)
|
||||
TestCase().assertEqual(longest_word("This sentence... has commas, ellipses, and an exclamation point!"), "exclamation")`)
|
||||
}})
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user