Skip to content

Commit

Permalink
fix(challenges): fix test in hr challenge (freeCodeCamp#189)
Browse files Browse the repository at this point in the history
the current test never matches: in the html, </h4> is followed by <p>, not <em>
  • Loading branch information
cellux authored and johnkennedy9147 committed Jul 28, 2018
1 parent 548a7a4 commit 2edb306
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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": [],
Expand Down

0 comments on commit 2edb306

Please sign in to comment.