Correct Test for Issue 294

closes #294
This commit is contained in:
Josh Johnson 2020-11-25 16:26:08 -05:00
parent 428bf450a1
commit 276e16b245
2 changed files with 4 additions and 4 deletions

View file

@ -108,7 +108,7 @@ describe("V2XmlFormatter", () => {
testFormatter(xmlFormatter, options, "issue-288"); 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"); testFormatter(xmlFormatter, options, "issue-294");
}); });
}); });

View file

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"> <xsl:stylesheet version="1.0">
<div> <div>
ThisCausesBug <img src="test"/> ThisCausesBug <img src="test"/>
<img src="test"/> <img src="test"/>
</div> </div>
</xsl:stylesheet> </xsl:stylesheet>