diff --git a/tests/Format/test_GeoRSS.html b/tests/Format/test_GeoRSS.html index b8b5490796..3a579efb01 100644 --- a/tests/Format/test_GeoRSS.html +++ b/tests/Format/test_GeoRSS.html @@ -30,9 +30,9 @@ t.plan(2); var parser = new OpenLayers.Format.GeoRSS(); - var data = parser.read('-11'); - t.eq(features.geometry.x, "-1", "w3c geo x read correctly"); - t.eq(features.geometry.y, "1", "w3c geo y read correctly"); + var data = parser.read('-11'); + t.eq(data[0].geometry.x, -1, "w3c geo x read correctly"); + t.eq(data[0].geometry.y, 1, "w3c geo y read correctly"); } function test_Format_GeoRSS_roundtrip(t) { t.plan(input.length);