added test case to improve a waypoint

This commit is contained in:
Harsha
2015-12-03 02:44:50 -05:00
parent 08da5befb8
commit e61b44d017

View File

@ -1744,7 +1744,8 @@
],
"tests": [
"assert($(\"div\").hasClass(\"container-fluid\"), 'message: Your <code>div</code> element should have the class <code>container-fluid</code>.');",
"assert(code.match(/<\\/div>/g) && code.match(/<div/g) && code.match(/<\\/div>/g).length === code.match(/<div/g).length, 'message: Make sure each of your <code>div</code> elements has a closing tag.');"
"assert(code.match(/<\\/div>/g) && code.match(/<div/g) && code.match(/<\\/div>/g).length === code.match(/<div/g).length, 'message: Make sure each of your <code>div</code> elements has a closing tag.');",
"assert($(\"div\").children(\"h3\").length >0, 'message: Nest your <code>h3</code> element inside a <code>div</code> element.');"
],
"challengeSeed": [
"<h3 class=\"text-primary text-center\">jQuery Playground</h3>",