From: Aleksander Ɓukasz Date: Sun, 28 Jul 2013 15:00:49 +0000 (+0200) Subject: Improving test X-Git-Url: https://git.mdrn.pl/fnpeditor.git/commitdiff_plain/97033d5ba70b7f85b1594deef72bda77e82fe869 Improving test --- diff --git a/modules/documentCanvas/canvas/canvas.test3.js b/modules/documentCanvas/canvas/canvas.test3.js index 3ff84f8..9877bb6 100644 --- a/modules/documentCanvas/canvas/canvas.test3.js +++ b/modules/documentCanvas/canvas/canvas.test3.js @@ -1236,15 +1236,15 @@ describe('Canvas', function() { }); it('keeps white space after detaching text element', function() { - var xmlIn = '
header
\ - \ - text1\ - \ + var xmlIn = '
header
\n\ + \n\ + text1\n\ + \n\
', - expectedXmlOut = '
header
\ - \ - \ - \ + expectedXmlOut = '
header
\n\ + \n\ + \n\ + \n\
', c = canvas.fromXML(xmlIn), children = c.doc().children(),