X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/6479f1b730495626b2d97c3be2fc903ff34e3a5b..b3f4fee8a2f01bf946bf28f9abd8b782e67dc186:/src/wlxml/wlxml.test.js?ds=inline diff --git a/src/wlxml/wlxml.test.js b/src/wlxml/wlxml.test.js index 86fe462..c210a71 100644 --- a/src/wlxml/wlxml.test.js +++ b/src/wlxml/wlxml.test.js @@ -72,6 +72,9 @@ describe('WLXMLDocument', function() { }); describe('formatting output xml', function() { + + /*jshint multistr: true */ + it('keeps white space between XML nodes', function() { var xmlIn = '
\n\n\n
\n\n\n
\n\n\n
', doc = getDocumentFromXML(xmlIn), @@ -90,8 +93,6 @@ describe('WLXMLDocument', function() { var partsIn = xmlIn.split('\n\n\n'), partsOut = xmlOut.split('\n\n\n'); - console.log(xmlIn); - console.log(xmlOut); expect(partsIn).to.deep.equal(partsOut); });