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
This commit is contained in:
crschmidt
2006-12-22 20:21:58 +00:00
parent 5d00a21863
commit f028effec2

View File

@@ -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");
}