Fix test_Layer_WMS.html, which was broken by r301.

git-svn-id: http://svn.openlayers.org/trunk/openlayers@312 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
Schuyler Erle
2006-05-24 04:31:57 +00:00
parent b7e9c0596f
commit 3ebbf969f2

View File

@@ -37,8 +37,8 @@
layer = new OpenLayers.Layer.WMS('Test Layer', "http://octo.metacarta.com/cgi-bin/mapserv", {map: '/mapdata/vmap_wms.map', layers: 'basic', format: 'image/jpeg'});
map.addLayer(layer);
map.setCenter(new OpenLayers.LonLat(0,0),5);
t.eq( layer.grid.length, 4, "Grid rows is correct." );
t.eq( layer.grid[0].length, 2, "Grid cols is correct." );
t.eq( layer.grid.length, 3, "Grid rows is correct." );
t.eq( layer.grid[0].length, 3, "Grid cols is correct." );
}