Merge pull request #130 from shurcooL/master

Fix test case.
pull/127/merge
Vytautas Šaltenis 2014-11-25 09:37:08 +02:00
commit f10a439fa0
1 changed files with 2 additions and 2 deletions

View File

@ -328,7 +328,7 @@ func TestPrefixAutoHeaderIdExtension(t *testing.T) {
"<h6 id=\"header-6\">Header 6</h6>\n",
"####### Header 7\n",
"<h6 id=\"-header-7\"># Header 7</h6>\n",
"<h6 id=\"header-7\"># Header 7</h6>\n",
"Hello\n# Header 1\nGoodbye\n",
"<p>Hello</p>\n\n<h1 id=\"header-1\">Header 1</h1>\n\n<p>Goodbye</p>\n",
@ -379,7 +379,7 @@ func TestPrefixAutoHeaderIdExtensionWithPrefixAndSuffix(t *testing.T) {
"<h6 id=\"PRE:header-6:POST\">Header 6</h6>\n",
"####### Header 7\n",
"<h6 id=\"PRE:-header-7:POST\"># Header 7</h6>\n",
"<h6 id=\"PRE:header-7:POST\"># Header 7</h6>\n",
"Hello\n# Header 1\nGoodbye\n",
"<p>Hello</p>\n\n<h1 id=\"PRE:header-1:POST\">Header 1</h1>\n\n<p>Goodbye</p>\n",