diff --git a/src/test/extension.test.ts b/src/test/extension.test.ts index e230267..7eb816a 100644 --- a/src/test/extension.test.ts +++ b/src/test/extension.test.ts @@ -72,6 +72,10 @@ describe("V2XmlFormatter", () => { testFormatter(xmlFormatter, options, "issue-185"); }); + it("should support single quotes within double-quoptes attributes and vice-versa", () => { + testFormatter(xmlFormatter, options, "issue-187"); + }); + }); }); diff --git a/src/test/test-data/issue-187.formatted.xml b/src/test/test-data/issue-187.formatted.xml new file mode 100644 index 0000000..2ad9048 --- /dev/null +++ b/src/test/test-data/issue-187.formatted.xml @@ -0,0 +1,17 @@ + + + Debug + latest + + + false + None + true + + + + + + + + \ No newline at end of file diff --git a/src/test/test-data/issue-187.unformatted.xml b/src/test/test-data/issue-187.unformatted.xml new file mode 100644 index 0000000..2ad9048 --- /dev/null +++ b/src/test/test-data/issue-187.unformatted.xml @@ -0,0 +1,17 @@ + + + Debug + latest + + + false + None + true + + + + + + + + \ No newline at end of file