OpenLayers OpenLayers

Changeset 2100

Show
Ignore:
Timestamp:
12/22/06 15:21:58 (2 years ago)
Author:
crschmidt
Message:

tschaub pointed out that this test didn't actually test anything interesting.
Change that.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/openlayers/tests/test_Util.html

    r2093 r2100  
    547547 
    548548  //PATHNAME 
    549         url1 = document.location.pathName + "/foo.html"; 
    550         url2 = "foo.html"; 
    551  
    552         t.ok(!OpenLayers.Util.isEquivalentUrl(url1, url2), "relative vs. absolute paths works");  
     549        url1 = "foo.html"; 
     550        url2 = "../tests/foo.html"; 
     551        console.log(url1); 
     552 
     553        t.ok(OpenLayers.Util.isEquivalentUrl(url1, url2), "relative vs. absolute paths works");  
    553554         
    554555