Add Failing Test

Issue: #177
This commit is contained in:
Josh Johnson 2018-05-29 18:43:01 -04:00
parent 4de58fe2e0
commit 36820ce320
3 changed files with 12 additions and 0 deletions

View File

@ -51,6 +51,10 @@ describe("V2XmlFormatter", () => {
testFormatter(xmlFormatter, options, "maintain-comment-formatting"); testFormatter(xmlFormatter, options, "maintain-comment-formatting");
}); });
it("should handle single-quotes in attributes", () => {
testFormatter(xmlFormatter, options, "single-quotes");
});
}); });
}); });

View File

@ -0,0 +1,4 @@
<root>
<element attr='1' />
<element attr='2' />
</root>

View File

@ -0,0 +1,4 @@
<root>
<element attr='1' />
<element attr='2' />
</root>