Add test for UseXHTML

This commit is contained in:
Vytautas Šaltenis 2016-04-05 09:51:46 +03:00
parent 106f1ec1bb
commit 6bd31203b1

View File

@ -1129,3 +1129,14 @@ func TestSkipLinks(t *testing.T) {
HTMLFlags: SkipLinks,
})
}
func TestUseXHTML(t *testing.T) {
doTestsParam(t, []string{
"---",
"<hr>\n",
}, TestParams{})
doTestsParam(t, []string{
"---",
"<hr />\n",
}, TestParams{HTMLFlags: UseXHTML})
}