fix(challenges): fix test in hr challenge (#189)

the current test never matches: in the html, </h4> is followed by <p>, not <em>
This commit is contained in:
Ruzsa Balázs
2018-07-28 18:48:19 +02:00
committed by John Kennedy
parent 548a7a4e21
commit 2edb306ca1

View File

@ -561,7 +561,7 @@
"text":
"The <code>hr</code> tag should come between the title and the paragraph.",
"testString":
"assert(code.match(/<\\/h4>\\s*?<hr(>|\\s*?\\/>)\\s*?<em>/gi), 'The <code>hr</code> tag should come between the title and the paragraph.');"
"assert(code.match(/<\\/h4>\\s*?<hr(>|\\s*?\\/>)\\s*?<p>/gi), 'The <code>hr</code> tag should come between the title and the paragraph.');"
}
],
"solutions": [],