OpenLayers OpenLayers

Changeset 5437

Show
Ignore:
Timestamp:
12/15/07 22:09:08 (1 year ago)
Author:
tschaub
Message:

Fixed test for GeoJSON collections (closes #1067).

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/openlayers/tests/Format/test_GeoJSON.html

    r5435 r5437  
    142142    // This test is from the geom_collection example on geojson spec. 
    143143    function test_Format_GeoJSON_collection(t) { 
    144        t.plan(10); 
     144       t.plan(12); 
    145145 
    146146       var geomcol = { 
     
    205205           } 
    206206        }; 
    207         data = parser.read(feature); 
     207        data = parser.read(feature, "Feature"); 
    208208        t.eq(data.geometry.CLASS_NAME, "OpenLayers.Geometry.Collection", "Geometry of feature is a collection"); 
    209209        var l = new OpenLayers.Layer.Vector();