Add Failing Test
This commit is contained in:
parent
f2cfe160ba
commit
da7b4041a0
3 changed files with 9 additions and 0 deletions
|
@ -88,6 +88,10 @@ describe("V2XmlFormatter", () => {
|
|||
testFormatter(xmlFormatter, options, "issue-194");
|
||||
});
|
||||
|
||||
it("should support mixed content", () => {
|
||||
testFormatter(xmlFormatter, options, "issue-200");
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
});
|
||||
|
|
4
src/test/test-data/issue-200.formatted.xml
Normal file
4
src/test/test-data/issue-200.formatted.xml
Normal file
|
@ -0,0 +1,4 @@
|
|||
<mixed>beginning text<inner>
|
||||
<a>data</a>
|
||||
<b>another data</b>
|
||||
</inner>end text</mixed>
|
1
src/test/test-data/issue-200.unformatted.xml
Normal file
1
src/test/test-data/issue-200.unformatted.xml
Normal file
|
@ -0,0 +1 @@
|
|||
<mixed>beginning text<inner><a>data</a><b>another data</b></inner>end text</mixed>
|
Loading…
Add table
Reference in a new issue