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
Ruzsa Balázs 2018-07-28 18:48:19 +02:00 committed by John Kennedy
parent 548a7a4e21
commit 2edb306ca1
1 changed files with 1 additions and 1 deletions

View File

@ -561,7 +561,7 @@
"text": "text":
"The <code>hr</code> tag should come between the title and the paragraph.", "The <code>hr</code> tag should come between the title and the paragraph.",
"testString": "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": [], "solutions": [],