From 276e16b245a7c7cc6014185d08fa6b70ba8710a4 Mon Sep 17 00:00:00 2001 From: Josh Johnson Date: Wed, 25 Nov 2020 16:26:08 -0500 Subject: [PATCH] Correct Test for Issue 294 closes #294 --- src/test/extension.test.ts | 2 +- src/test/test-data/issue-294.formatted.xml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/test/extension.test.ts b/src/test/extension.test.ts index c2e20dd..be01e22 100644 --- a/src/test/extension.test.ts +++ b/src/test/extension.test.ts @@ -108,7 +108,7 @@ describe("V2XmlFormatter", () => { testFormatter(xmlFormatter, options, "issue-288"); }); - it("should handle mixed content on the same line as another element", () => { + it("should handle mixed content on the same line as another element without error", () => { testFormatter(xmlFormatter, options, "issue-294"); }); }); diff --git a/src/test/test-data/issue-294.formatted.xml b/src/test/test-data/issue-294.formatted.xml index 0d46e60..df31b2b 100644 --- a/src/test/test-data/issue-294.formatted.xml +++ b/src/test/test-data/issue-294.formatted.xml @@ -1,7 +1,7 @@
- ThisCausesBug - -
+ ThisCausesBug + +
\ No newline at end of file