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 #16416pull/18182/head
parent
32930c9ed7
commit
c3de5bb644
|
@ -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*© 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": [],
|
||||
|
|
Loading…
Reference in New Issue