Skip to content

Commit

Permalink
Merge pull request #492 from support-project/fix/test_for_markdown
Browse files Browse the repository at this point in the history
#469 Fix test for a markdown parse result
  • Loading branch information
koda-masaru committed Oct 14, 2016
2 parents 5230c27 + cc66b4e commit 085806b
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -271,7 +271,7 @@ public void testUNC()
public void testAmp()
throws ParseException, UnsupportedEncodingException, IOException, TransformerFactoryConfigurationError, TransformerException {
String markdown = "```\n&read_data\n```";
String html = "<pre><code>&amp;read_data\n</code></pre>\n";
String html = "<pre><code class=\"hljs\">&amp;read_data\n</code></pre>\n";
String result = MarkdownLogic.get().markdownToHtml(markdown, MarkdownLogic.ENGINE_MARKEDJ).getHtml();
try {
org.junit.Assert.assertEquals(html, result);
Expand Down

0 comments on commit 085806b

Please sign in to comment.