From 1d47f8ce166e2181f426a08b5c7485c0e0ef4277 Mon Sep 17 00:00:00 2001 From: euzuro Date: Fri, 12 Jan 2007 10:14:53 +0000 Subject: [PATCH] idea was to pass options to equiv test git-svn-id: http://svn.openlayers.org/trunk/openlayers@2139 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- tests/test_Util.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_Util.html b/tests/test_Util.html index ec975fa290..ee62c4c672 100644 --- a/tests/test_Util.html +++ b/tests/test_Util.html @@ -517,14 +517,14 @@ url2 = "http://www.openlayers.org"; t.ok(OpenLayers.Util.isEquivalentUrl(url1, url2), "default ignorePort80 works"); + options = { 'ignorePort80': false } - url1 = "http://www.openlayers.org:80"; url2 = "http://www.openlayers.org:50"; - t.ok(!OpenLayers.Util.isEquivalentUrl(url1, url2), "port check works"); + t.ok(!OpenLayers.Util.isEquivalentUrl(url1, url2, options), "port check works"); //HASH