Autofix indentation issues (eslint --fix)
This commit is contained in:
@@ -348,14 +348,14 @@ describe('ol.format.WFS', function() {
|
||||
featurePrefix: 'topp',
|
||||
featureTypes: ['states'],
|
||||
filter: ol.format.filter.or(
|
||||
ol.format.filter.and(
|
||||
ol.format.filter.greaterThan('area', 100),
|
||||
ol.format.filter.greaterThanOrEqualTo('pop', 20000)
|
||||
),
|
||||
ol.format.filter.and(
|
||||
ol.format.filter.lessThan('area', 100),
|
||||
ol.format.filter.lessThanOrEqualTo('pop', 20000)
|
||||
)
|
||||
ol.format.filter.and(
|
||||
ol.format.filter.greaterThan('area', 100),
|
||||
ol.format.filter.greaterThanOrEqualTo('pop', 20000)
|
||||
),
|
||||
ol.format.filter.and(
|
||||
ol.format.filter.lessThan('area', 100),
|
||||
ol.format.filter.lessThanOrEqualTo('pop', 20000)
|
||||
)
|
||||
)
|
||||
});
|
||||
expect(serialized.firstElementChild).to.xmleql(ol.xml.parse(text));
|
||||
@@ -505,9 +505,9 @@ describe('ol.format.WFS', function() {
|
||||
featurePrefix: 'topp',
|
||||
featureTypes: ['states'],
|
||||
filter: ol.format.filter.and(
|
||||
ol.format.filter.equalTo('name', 'New York'),
|
||||
ol.format.filter.bbox('the_geom', [1, 2, 3, 4], 'urn:ogc:def:crs:EPSG::4326'),
|
||||
ol.format.filter.greaterThan('population', 2000000)
|
||||
ol.format.filter.equalTo('name', 'New York'),
|
||||
ol.format.filter.bbox('the_geom', [1, 2, 3, 4], 'urn:ogc:def:crs:EPSG::4326'),
|
||||
ol.format.filter.greaterThan('population', 2000000)
|
||||
)
|
||||
});
|
||||
expect(serialized.firstElementChild).to.xmleql(ol.xml.parse(text));
|
||||
@@ -539,11 +539,11 @@ describe('ol.format.WFS', function() {
|
||||
filter: ol.format.filter.intersects(
|
||||
'the_geom',
|
||||
new ol.geom.Polygon([[
|
||||
[10, 20],
|
||||
[10, 25],
|
||||
[15, 25],
|
||||
[15, 20],
|
||||
[10, 20]
|
||||
[10, 20],
|
||||
[10, 25],
|
||||
[15, 25],
|
||||
[15, 20],
|
||||
[10, 20]
|
||||
]])
|
||||
)
|
||||
});
|
||||
@@ -576,11 +576,11 @@ describe('ol.format.WFS', function() {
|
||||
filter: ol.format.filter.within(
|
||||
'the_geom',
|
||||
new ol.geom.Polygon([[
|
||||
[10, 20],
|
||||
[10, 25],
|
||||
[15, 25],
|
||||
[15, 20],
|
||||
[10, 20]
|
||||
[10, 20],
|
||||
[10, 25],
|
||||
[15, 25],
|
||||
[15, 20],
|
||||
[10, 20]
|
||||
]])
|
||||
)
|
||||
});
|
||||
@@ -1182,10 +1182,10 @@ describe('ol.format.WFS', function() {
|
||||
' </And>' +
|
||||
'</Filter>';
|
||||
var serialized = ol.format.WFS.writeFilter(
|
||||
ol.format.filter.and(
|
||||
ol.format.filter.like('name', 'Mississippi*'),
|
||||
ol.format.filter.equalTo('waterway', 'riverbank')
|
||||
)
|
||||
ol.format.filter.and(
|
||||
ol.format.filter.like('name', 'Mississippi*'),
|
||||
ol.format.filter.equalTo('waterway', 'riverbank')
|
||||
)
|
||||
);
|
||||
expect(serialized).to.xmleql(ol.xml.parse(text));
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user