From 61bd874785b43dfab2e3586627b2d8d3043b8193 Mon Sep 17 00:00:00 2001 From: crschmidt Date: Wed, 3 Oct 2007 14:57:45 +0000 Subject: [PATCH] Fix Format tests (committed the wrong one.) (See #1024) git-svn-id: http://svn.openlayers.org/trunk/openlayers@4779 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- tests/Format/test_GeoRSS.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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);