X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/915c66cb6b6db5a535802f5981d2d9575dd608b5..d61535cf50c7a8cb597db7f1d9681901a06efaa5:/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); });