correct test report

git-svn-id: http://svn.openlayers.org/trunk/openlayers@2831 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
euzuro
2007-03-21 16:08:08 +00:00
parent d49f45dfcc
commit 30dfa541a0

View File

@@ -146,7 +146,7 @@
tUrl = "http://octo.metacarta.com/cgi-bin/mapserv"; tUrl = "http://octo.metacarta.com/cgi-bin/mapserv";
layer = new OpenLayers.Layer.HTTPRequest(name, "chicken", tParams, null); layer = new OpenLayers.Layer.HTTPRequest(name, "chicken", tParams, null);
str = layer.getFullRequestString(null, tUrl); str = layer.getFullRequestString(null, tUrl);
t.eq(str, tUrl + '?' + OpenLayers.Util.getParameterString(tParams), "getFullRequestString() works for url sans ?"); t.eq(str, tUrl + '?' + OpenLayers.Util.getParameterString(tParams), "getFullRequestString() works with specified altUrl parameter");
// single url object // single url object
tUrl = ["http://octo.metacarta.com/cgi-bin/mapserv"]; tUrl = ["http://octo.metacarta.com/cgi-bin/mapserv"];