From 17a71b0abe282868c42acc9d1abf9a414b18e8d8 Mon Sep 17 00:00:00 2001 From: Chris Moore Date: Mon, 18 Jan 2016 22:05:19 -0800 Subject: [PATCH] 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. --- .../01-front-end-development-certification/html5-and-css.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seed/challenges/01-front-end-development-certification/html5-and-css.json b/seed/challenges/01-front-end-development-certification/html5-and-css.json index e91ac8247f..9e491cab5f 100644 --- a/seed/challenges/01-front-end-development-certification/html5-and-css.json +++ b/seed/challenges/01-front-end-development-certification/html5-and-css.json @@ -215,7 +215,7 @@ "

Hello Paragraph

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