From 40e9f0eaf24a1fea0312e95fab93f890731d83e8 Mon Sep 17 00:00:00 2001 From: Bart van den Eijnden Date: Mon, 23 Nov 2015 10:05:17 +0100 Subject: [PATCH] Fix up ol.format.GPX tests in IE --- test/spec/ol/format/gpxformat.test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/spec/ol/format/gpxformat.test.js b/test/spec/ol/format/gpxformat.test.js index bf5c4eaca0..eea926db2f 100644 --- a/test/spec/ol/format/gpxformat.test.js +++ b/test/spec/ol/format/gpxformat.test.js @@ -567,10 +567,10 @@ describe('ol.format.GPX', function() { [[[0, 0], [2, 2], [4, 0], [0, 0]]]); var feature = new ol.Feature(polygon); var features = [feature]; - var gpx = format.writeFeatures(features); + var gpx = format.writeFeaturesNode(features); var expected = ''; - expect(gpx).to.be(expected); + expect(gpx).to.xmleql(ol.xml.parse(expected)); }); });