Fix #6299. The validation should accept the first 2 words if we're going to request "the first few words". The 3rd word shouldn't be required.

This commit is contained in:
Chris Moore
2016-01-18 22:05:19 -08:00
parent f5fa0428a6
commit 17a71b0abe

View File

@ -215,7 +215,7 @@
"<p>Hello Paragraph</p>" "<p>Hello Paragraph</p>"
], ],
"tests": [ "tests": [
"assert.isTrue((/Kitty(\\s)+ipsum(\\s)+dolor/gi).test($(\"p\").text()), 'message: Your <code>p</code> element should contain the first few words of the provided <code>kitty ipsum text</code>.');" "assert.isTrue((/Kitty(\\s)+ipsum/gi).test($(\"p\").text()), 'message: Your <code>p</code> element should contain the first few words of the provided <code>kitty ipsum text</code>.');"
], ],
"type": "waypoint", "type": "waypoint",
"challengeType": 0, "challengeType": 0,