test(seed): Check for both opening and closing footer tags (#16542)

Currently the test is only checking for the opening footer tag. This
proposed change would make it that the test checks for both the opening
and closing footer tags.

Closes #16416
pull/16569/head
A-J Roos 2018-01-25 01:33:58 +02:00 committed by Stuart Taylor
parent 528d856405
commit 35be15dfc2
1 changed files with 1 additions and 1 deletions

View File

@ -364,7 +364,7 @@
"</body>"
],
"tests": [
"assert($('footer').length == 1, 'message: Your code should have one <code>footer</code> tag.');",
"assert(code.match(/<footer>\\s*&copy; 2016 Camper Cat\\s*<\\/footer>/g), 'message: Your code should have an opening and closing <code>footer</code> tag.');",
"assert($('div').length == 0, 'message: Your code should not have any <code>div</code> tags.');"
],
"solutions": [],