From f028effec2bcb05a96c83af4784db78397db0c55 Mon Sep 17 00:00:00 2001 From: crschmidt Date: Fri, 22 Dec 2006 20:21:58 +0000 Subject: [PATCH] tschaub pointed out that this test didn't actually test anything interesting. Change that. git-svn-id: http://svn.openlayers.org/trunk/openlayers@2100 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- tests/test_Util.html | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tests/test_Util.html b/tests/test_Util.html index ce020c432e..f04d4df6ab 100644 --- a/tests/test_Util.html +++ b/tests/test_Util.html @@ -546,10 +546,11 @@ //PATHNAME - url1 = document.location.pathName + "/foo.html"; - url2 = "foo.html"; + url1 = "foo.html"; + url2 = "../tests/foo.html"; + console.log(url1); - t.ok(!OpenLayers.Util.isEquivalentUrl(url1, url2), "relative vs. absolute paths works"); + t.ok(OpenLayers.Util.isEquivalentUrl(url1, url2), "relative vs. absolute paths works"); }