diff --git a/test/spec/ol/collection.test.js b/test/spec/ol/collection.test.js index 3aae141893..cb0972002c 100644 --- a/test/spec/ol/collection.test.js +++ b/test/spec/ol/collection.test.js @@ -106,10 +106,13 @@ describe('ol.collection', function() { it('does dispatch events', function() { var collection = new ol.Collection(['a', 'b']); var index, prev; - goog.events.listen(collection, ol.CollectionEventType.SET_AT, function(e) { - index = e.index; - prev = e.prev; - }); + goog.events.listen( + collection, + ol.CollectionEventType.SET_AT, + function(e) { + index = e.index; + prev = e.prev; + }); collection.setAt(1, 1); expect(index).toEqual(1); expect(prev).toEqual('b'); diff --git a/test/spec/ol/object.test.js b/test/spec/ol/object.test.js index e77f24bbf1..8cfbc2c196 100644 --- a/test/spec/ol/object.test.js +++ b/test/spec/ol/object.test.js @@ -10,7 +10,7 @@ describe('ol.Object', function() { describe('get an unset property', function() { var v; beforeEach(function() { - v = o.get('k'); + v = o.get('k'); }); it('returns undefined', function() { @@ -108,7 +108,7 @@ describe('ol.Object', function() { }); describe('bindTo after set', function() { - + it('gets expected value', function() { o.set('k', 1); o2.bindTo('k', o); @@ -118,7 +118,7 @@ describe('ol.Object', function() { }); describe('bindTo before set', function() { - + it('gets expected value', function() { o2.bindTo('k', o); o.set('k', 1); @@ -129,7 +129,7 @@ describe('ol.Object', function() { describe('backwards', function() { describe('bindTo after set', function() { - + it('gets expected value', function() { o2.set('k', 1); o2.bindTo('k', o); @@ -139,7 +139,7 @@ describe('ol.Object', function() { }); describe('bindTo before set', function() { - + it('gets expected value', function() { o2.bindTo('k', o); o2.set('k', 1); diff --git a/test/spec/ol/projection.test.js b/test/spec/ol/projection.test.js index d88666a632..f859124582 100644 --- a/test/spec/ol/projection.test.js +++ b/test/spec/ol/projection.test.js @@ -20,7 +20,8 @@ describe('ol.Projection', function() { ]); }); - it('gives that CRS:84, urn:ogc:def:crs:EPSG:6.6:4326, EPSG:4326 are equivalent', function() { + it('gives that CRS:84, urn:ogc:def:crs:EPSG:6.6:4326, EPSG:4326 are ' + + 'equivalent', function() { _testAllEquivalent([ 'CRS:84', 'urn:ogc:def:crs:EPSG:6.6:4326', diff --git a/test/spec/ol/tilerange.test.js b/test/spec/ol/tilerange.test.js index 33ea5265eb..b9eb37f465 100644 --- a/test/spec/ol/tilerange.test.js +++ b/test/spec/ol/tilerange.test.js @@ -57,7 +57,8 @@ describe('ol.TileRange', function() { var tileCoords = []; tileRange.forEachTileCoord(5, function(tileCoord) { - tileCoords.push(new ol.TileCoord(tileCoord.z, tileCoord.x, tileCoord.y)); + tileCoords.push( + new ol.TileCoord(tileCoord.z, tileCoord.x, tileCoord.y)); }); expect(tileCoords.length).toEqual(4);