Merge pull request #4896 from ahocevar/xml-ignore-order

Ignore XML sequence when comparing GML
This commit is contained in:
Andreas Hocevar
2016-02-24 08:59:30 +01:00
2 changed files with 8 additions and 2 deletions

View File

@@ -1034,7 +1034,7 @@ describe('ol.format.GML3', function() {
it('writes back features as GML', function() {
var serialized = gmlFormat.writeFeaturesNode(features);
expect(serialized).to.xmleql(ol.xml.parse(text));
expect(serialized).to.xmleql(ol.xml.parse(text), {ignoreElementOrder: true});
});
});