fixed test1s div.row selector and length

pull/12466/head
alexr101 2017-01-10 17:28:29 -07:00
parent acaa044299
commit 72eda3922b
1 changed files with 1 additions and 1 deletions

View File

@ -1503,7 +1503,7 @@
"</div>"
],
"tests": [
"assert($(\"div.row:has(input[type=\\\"radio\\\"])\").length > 0, 'message: Nest all of your radio buttons inside one <code>div</code> with the class <code>row</code>.');",
"assert($(\"div.row input[type=\\\"radio\\\"]\").length === 2, 'message: Nest all of your radio buttons inside one <code>div</code> with the class <code>row</code>.');",
"assert($(\"div.col-xs-6:has(input[type=\\\"radio\\\"])\").length > 1, 'message: Nest each of your radio buttons inside its own <code>div</code> with the class <code>col-xs-6</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.');"
],