added test case to improve a waypoint

This commit is contained in:
Harsha
2015-12-03 02:44:50 -05:00
parent 2eecdfb2aa
commit 7b742922e6

View File

@ -1744,7 +1744,8 @@
], ],
"tests": [ "tests": [
"assert($(\"div\").hasClass(\"container-fluid\"), 'message: Your <code>div</code> element should have the class <code>container-fluid</code>.');", "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": [ "challengeSeed": [
"<h3 class=\"text-primary text-center\">jQuery Playground</h3>", "<h3 class=\"text-primary text-center\">jQuery Playground</h3>",