Improving test
authorAleksander Łukasz <aleksander.lukasz@nowoczesnapolska.org.pl>
Sun, 28 Jul 2013 15:00:49 +0000 (17:00 +0200)
committerAleksander Łukasz <aleksander.lukasz@nowoczesnapolska.org.pl>
Sun, 28 Jul 2013 15:00:49 +0000 (17:00 +0200)
modules/documentCanvas/canvas/canvas.test3.js

index 3ff84f8..9877bb6 100644 (file)
@@ -1236,15 +1236,15 @@ describe('Canvas', function() {
             });
 
             it('keeps white space after detaching text element', function() {
-                var xmlIn = '<section><header>header</header>\
-                    \
-                text1\
-                    \
+                var xmlIn = '<section><header>header</header>\n\
+                    \n\
+                text1\n\
+                    \n\
             </section>',
-                    expectedXmlOut = '<section><header>header</header>\
-                    \
-                \
-                    \
+                    expectedXmlOut = '<section><header>header</header>\n\
+                    \n\
+                \n\
+                    \n\
             </section>',
                     c = canvas.fromXML(xmlIn),
                     children = c.doc().children(),