Skip to content

Commit

Permalink
Merge pull request freeCodeCamp#7814 from BKinahan/fix/nest-elements-…
Browse files Browse the repository at this point in the history
…test

Correct plurality in test message of Nest Many Elements
  • Loading branch information
raisedadead committed Mar 30, 2016
2 parents 66bde41 + 5622657 commit be7470d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2527,7 +2527,7 @@
"</form>"
],
"tests": [
"assert($(\"div\").children(\"p\").length > 1, 'message: Nest your <code>p</code> element inside your <code>div</code> element.');",
"assert($(\"div\").children(\"p\").length > 1, 'message: Nest your <code>p</code> elements inside your <code>div</code> element.');",
"assert($(\"div\").children(\"ul\").length > 0, 'message: Nest your <code>ul</code> element inside your <code>div</code> element.');",
"assert($(\"div\").children(\"ol\").length > 0, 'message: Nest your <code>ol</code> element inside your <code>div</code> element.');",
"assert(code.match(/<\\/div>/g) && code.match(/<\\/div>/g).length === code.match(/<div>/g).length, 'message: Make sure your <code>div</code> element has a closing tag.');"
Expand Down

0 comments on commit be7470d

Please sign in to comment.