fixed issue #1511 - now checking for words longer than 9 chars

closes #1511
This commit is contained in:
Djordje Lacmanović
2015-08-04 16:51:10 +02:00
parent c8488c8419
commit a3e5005058

View File

@ -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()",