X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/6479f1b730495626b2d97c3be2fc903ff34e3a5b..24f79c15db362b3646ce15d0dc6d9c703040e892:/src/wlxml/wlxml.test.js 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); });