fixed issue #1511 - now checking for words longer than 9 chars
closes #1511
This commit is contained in:
@ -231,7 +231,8 @@
|
|||||||
"expect(findLongestWord('The quick brown fox jumped over the lazy dog')).to.equal(6);",
|
"expect(findLongestWord('The quick brown fox jumped over the lazy dog')).to.equal(6);",
|
||||||
"expect(findLongestWord('May the force be with you')).to.equal(5);",
|
"expect(findLongestWord('May the force be with you')).to.equal(5);",
|
||||||
"expect(findLongestWord('Google do a barrel roll')).to.equal(6);",
|
"expect(findLongestWord('Google do a barrel roll')).to.equal(6);",
|
||||||
"expect(findLongestWord('What is the average airspeed velocity of an unladen swallow')).to.equal(8);"
|
"expect(findLongestWord('What is the average airspeed velocity of an unladen swallow')).to.equal(8);",
|
||||||
|
"expect(findLongestWord('What if we try a super-long word such as otorhinolaryngology')).to.equal(19);"
|
||||||
],
|
],
|
||||||
"MDNlinks": [
|
"MDNlinks": [
|
||||||
"String.split()",
|
"String.split()",
|
||||||
|
Reference in New Issue
Block a user