From 8572258fd1d6a61a0864f9c761f8ece31699b511 Mon Sep 17 00:00:00 2001 From: crschmidt Date: Tue, 18 Dec 2007 16:54:15 +0000 Subject: [PATCH] no need to process the expected data twice. git-svn-id: http://svn.openlayers.org/trunk/openlayers@5499 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- tests/Format/test_XML.html | 3 --- 1 file changed, 3 deletions(-) diff --git a/tests/Format/test_XML.html b/tests/Format/test_XML.html index 80a5419fce..cd9775ce52 100644 --- a/tests/Format/test_XML.html +++ b/tests/Format/test_XML.html @@ -83,9 +83,6 @@ "correctly writes an XML DOM doc"); var out = format.write(doc.firstChild); - out = out.replace(/[\r\n]/g, ''); - out = out.replace( /<\?.*\?>/, '') - var expected = text.replace(/<\?.*\?>/, '') t.eq(expected, out, "correctly writes an XML DOM node"); }