Fix up failing KML test in Firefox

This commit is contained in:
Bart van den Eijnden
2015-12-15 09:42:51 +01:00
parent 9b1416da29
commit bd4c1f8da6

View File

@@ -2790,7 +2790,7 @@ describe('ol.format.KML', function() {
var nl = format.readNetworkLinks(text);
expect(nl).to.have.length(2);
expect(nl[0].name).to.be('bar');
expect(nl[0].href).to.be('bar/bar.kml');
expect(nl[0].href.replace(window.location.href, '')).to.be('bar/bar.kml');
expect(nl[1].href).to.be('http://foo.com/foo.kml');
});