#645: decided it was a bad idea to make the tests break before committing the fix

git-svn-id: http://svn.openlayers.org/trunk/openlayers@3030 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
Tim Schaub
2007-04-06 17:11:17 +00:00
parent c0240b9ea5
commit 00eb6dda59

View File

@@ -30,7 +30,7 @@
}
function test_03_Layer_Vector_removeFeatures(t) {
t.plan(2);
t.plan(1);
var layer = new OpenLayers.Layer.Vector(name);
@@ -43,12 +43,13 @@
var features = layer.removeFeatures([pointFeature1]);
t.ok(layer.features.length == 1, "OpenLayers.Layer.Vector.removeFeatures removes a feature from the features array");
/* patch for #645 will include this
layer.addFeatures([pointFeature1.clone(), pointFeature2.clone()]);
var features = layer.removeFeatures(layer.features);
t.ok(layer.features.length == 0,
"OpenLayers.Layer.Vector.removeFeatures(layer.features) removes all feature from the features array");
*/
}
function test_Layer_Vector_addStyle (t) {