Merge pull request #4559 from bartvde/kml-ff-test

Fix up failing KML test in Firefox
This commit is contained in:
Bart van den Eijnden
2015-12-15 10:45:42 +01:00

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');
});