Add Failing Test

Issue: #185
This commit is contained in:
Josh Johnson 2018-05-31 18:41:52 -04:00
parent 4640c6c44c
commit 5a90a0c121
3 changed files with 10 additions and 0 deletions

View File

@ -68,6 +68,10 @@ describe("V2XmlFormatter", () => {
options.enforcePrettySelfClosingTagOnFormat = false; options.enforcePrettySelfClosingTagOnFormat = false;
}); });
it("should properly format closing tag after self-closing tag", () => {
testFormatter(xmlFormatter, options, "issue-185");
});
}); });
}); });

View File

@ -0,0 +1,5 @@
<test>
<example>
<one/>
</example>
</test>

View File

@ -0,0 +1 @@
<test><example><one/></example></test>