OpenLayers OpenLayers

Changeset 4779

Show
Ignore:
Timestamp:
10/03/07 10:57:45 (1 year ago)
Author:
crschmidt
Message:

Fix Format tests (committed the wrong one.) (See #1024)

Files:

Legend:

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

    r4769 r4779  
    3131 
    3232        var parser = new OpenLayers.Format.GeoRSS(); 
    33         var data = parser.read('<rss xmlns="http://backend.userland.com/rss2" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"><item><geo:long>-1</geo:long><geo:lat>1</geo:long></item></rss>'); 
    34         t.eq(features.geometry.x, "-1", "w3c geo x read correctly");  
    35         t.eq(features.geometry.y, "1", "w3c geo y read correctly");  
     33        var data = parser.read('<rss xmlns="http://backend.userland.com/rss2" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"><item><geo:long>-1</geo:long><geo:lat>1</geo:lat></item></rss>'); 
     34        t.eq(data[0].geometry.x, -1, "w3c geo x read correctly");  
     35        t.eq(data[0].geometry.y, 1, "w3c geo y read correctly");  
    3636    } 
    3737    function test_Format_GeoRSS_roundtrip(t) {