Fix ol.geom.GeometryCollection test

This commit is contained in:
Tom Payne
2013-12-12 11:30:33 +01:00
parent e4d85e27b1
commit ccf96ea415

View File

@@ -58,7 +58,7 @@ describe('ol.geom.GeometryCollection', function() {
var originalGeometries = [point];
var multi = new ol.geom.GeometryCollection(originalGeometries);
var clone = multi.clone();
var clonedGeometries = multi.getGeometries();
var clonedGeometries = clone.getGeometries();
expect(clonedGeometries).not.to.be(originalGeometries);
expect(clonedGeometries).to.have.length(originalGeometries.length);
expect(clonedGeometries).to.have.length(1);