diff --git a/src/test/extension.test.ts b/src/test/extension.test.ts
index ce6f035..3528d0b 100644
--- a/src/test/extension.test.ts
+++ b/src/test/extension.test.ts
@@ -51,6 +51,10 @@ describe("V2XmlFormatter", () => {
testFormatter(xmlFormatter, options, "maintain-comment-formatting");
});
+ it("should handle single-quotes in attributes", () => {
+ testFormatter(xmlFormatter, options, "single-quotes");
+ });
+
});
});
diff --git a/src/test/test-data/single-quotes.formatted.xml b/src/test/test-data/single-quotes.formatted.xml
new file mode 100644
index 0000000..e8aa42e
--- /dev/null
+++ b/src/test/test-data/single-quotes.formatted.xml
@@ -0,0 +1,4 @@
+
+
+
+
\ No newline at end of file
diff --git a/src/test/test-data/single-quotes.unformatted.xml b/src/test/test-data/single-quotes.unformatted.xml
new file mode 100644
index 0000000..e8aa42e
--- /dev/null
+++ b/src/test/test-data/single-quotes.unformatted.xml
@@ -0,0 +1,4 @@
+
+
+
+
\ No newline at end of file