From e61b44d01766fe1c0e645dcd1af9f56b380f32f9 Mon Sep 17 00:00:00 2001 From: Harsha Date: Thu, 3 Dec 2015 02:44:50 -0500 Subject: [PATCH] added test case to improve a waypoint --- seed/challenges/bootstrap.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/seed/challenges/bootstrap.json b/seed/challenges/bootstrap.json index d205d082b3..6a5f08981a 100644 --- a/seed/challenges/bootstrap.json +++ b/seed/challenges/bootstrap.json @@ -1744,7 +1744,8 @@ ], "tests": [ "assert($(\"div\").hasClass(\"container-fluid\"), 'message: Your div element should have the class container-fluid.');", - "assert(code.match(/<\\/div>/g) && code.match(/
/g).length === code.match(/
div elements has a closing tag.');" + "assert(code.match(/<\\/div>/g) && code.match(/
/g).length === code.match(/
div elements has a closing tag.');", + "assert($(\"div\").children(\"h3\").length >0, 'message: Nest your h3 element inside a div element.');" ], "challengeSeed": [ "

jQuery Playground

",