Add Failing Test

This commit is contained in:
Josh Johnson 2018-12-21 14:46:35 -05:00
parent 52039f5d6d
commit be6bb72b82
3 changed files with 12 additions and 0 deletions

View file

@ -95,6 +95,10 @@ describe("V2XmlFormatter", () => {
it("should not remove spaces between the node name and the first attribute within CDATA", () => { it("should not remove spaces between the node name and the first attribute within CDATA", () => {
testFormatter(xmlFormatter, options, "issue-227"); testFormatter(xmlFormatter, options, "issue-227");
}); });
it("should optionally add line break after self-closing tag", () => {
testFormatter(xmlFormatter, options, "issue-235");
});
}); });
}); });

View file

@ -0,0 +1,7 @@
<br/>
<br/>
<br/>
abc<br/>
<br/>
<br/>
<br/>

View file

@ -0,0 +1 @@
<br/><br/><br/>abc<br/><br/><br/><br/>