fix(challenges): fix test in hr challenge (#189)
the current test never matches: in the html, </h4> is followed by <p>, not <em>pull/18182/head
parent
548a7a4e21
commit
2edb306ca1
|
@ -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": [],
|
||||
|
|
Loading…
Reference in New Issue