Add Failing Test

This commit is contained in:
Josh Johnson 2020-07-08 22:22:11 -04:00
parent 44478d12b4
commit 0cc71c7cc9
3 changed files with 26 additions and 0 deletions

View File

@ -103,6 +103,10 @@ describe("V2XmlFormatter", () => {
it("should not touch CDATA content", () => { it("should not touch CDATA content", () => {
testFormatter(xmlFormatter, options, "issue-293"); testFormatter(xmlFormatter, options, "issue-293");
}); });
it("should not add trailing whitespace", () => {
testFormatter(xmlFormatter, options, "issue-288");
});
}); });
describe("#minifyXml(xml, options)", () => { describe("#minifyXml(xml, options)", () => {

View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns="http://purl.org/rss/1.0/"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:syn="http://purl.org/rss/1.0/modules/syndication/"
xmlns:admin="http://webns.net/mvcb/">
</rdf:RDF>

View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns="http://purl.org/rss/1.0/"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:syn="http://purl.org/rss/1.0/modules/syndication/"
xmlns:admin="http://webns.net/mvcb/">
</rdf:RDF>