From 97033d5ba70b7f85b1594deef72bda77e82fe869 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Aleksander=20=C5=81ukasz?= Date: Sun, 28 Jul 2013 17:00:49 +0200 Subject: [PATCH 1/1] Improving test --- modules/documentCanvas/canvas/canvas.test3.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) 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(), -- 2.20.1