Merge pull request #10625 from alanbares/fix/bootstrap-element-well-test

Fix first test on add element to boostrap well challenge to check for…
pull/18182/head
Berkeley Martinez 2016-09-09 18:23:14 -07:00 committed by GitHub
commit 6fac979fb9
1 changed files with 1 additions and 1 deletions

View File

@ -2088,7 +2088,7 @@
"</div>"
],
"tests": [
"assert($(\"div.well\").children(\"button\").length > 5, 'message: Nest three <code>button</code> elements within each of your <code>div</code> elements with class <code>well</code>.');",
"assert($(\"div.well:eq(0)\").children(\"button\").length === 3 && $(\"div.well:eq(1)\").children(\"button\").length === 3, 'message: Nest three <code>button</code> elements within each of your <code>div</code> elements with class <code>well</code>.');",
"assert($(\"button\") && $(\"button\").length > 5, 'message: You should have a total of 6 <code>button</code> elements.');",
"assert(code.match(/<\\/button>/g) && code.match(/<button/g) && code.match(/<\\/button>/g).length === code.match(/<button/g).length, 'message: Make sure all your <code>button</code> elements have closing tags.');"
],