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:
@@ -546,10 +546,11 @@
|
|||||||
|
|
||||||
|
|
||||||
//PATHNAME
|
//PATHNAME
|
||||||
url1 = document.location.pathName + "/foo.html";
|
url1 = "foo.html";
|
||||||
url2 = "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");
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user