Fix prettier errors
This commit is contained in:
@@ -1458,31 +1458,31 @@ describe('ol.format.WFS', function () {
|
|||||||
|
|
||||||
describe('when writing out a WFS Filter', function () {
|
describe('when writing out a WFS Filter', function () {
|
||||||
const wfs1Filter =
|
const wfs1Filter =
|
||||||
'<Filter xmlns="http://www.opengis.net/ogc">' +
|
'<Filter xmlns="http://www.opengis.net/ogc">' +
|
||||||
' <And>' +
|
' <And>' +
|
||||||
' <PropertyIsLike wildCard="*" singleChar="." escapeChar="!">' +
|
' <PropertyIsLike wildCard="*" singleChar="." escapeChar="!">' +
|
||||||
' <PropertyName>name</PropertyName>' +
|
' <PropertyName>name</PropertyName>' +
|
||||||
' <Literal>Mississippi*</Literal>' +
|
' <Literal>Mississippi*</Literal>' +
|
||||||
' </PropertyIsLike>' +
|
' </PropertyIsLike>' +
|
||||||
' <PropertyIsEqualTo>' +
|
' <PropertyIsEqualTo>' +
|
||||||
' <PropertyName>waterway</PropertyName>' +
|
' <PropertyName>waterway</PropertyName>' +
|
||||||
' <Literal>riverbank</Literal>' +
|
' <Literal>riverbank</Literal>' +
|
||||||
' </PropertyIsEqualTo>' +
|
' </PropertyIsEqualTo>' +
|
||||||
' </And>' +
|
' </And>' +
|
||||||
'</Filter>';
|
'</Filter>';
|
||||||
const wfs2Filter =
|
const wfs2Filter =
|
||||||
'<Filter xmlns="http://www.opengis.net/fes/2.0">' +
|
'<Filter xmlns="http://www.opengis.net/fes/2.0">' +
|
||||||
' <And>' +
|
' <And>' +
|
||||||
' <PropertyIsLike wildCard="*" singleChar="." escapeChar="!">' +
|
' <PropertyIsLike wildCard="*" singleChar="." escapeChar="!">' +
|
||||||
' <ValueReference>name</ValueReference>' +
|
' <ValueReference>name</ValueReference>' +
|
||||||
' <Literal>Mississippi*</Literal>' +
|
' <Literal>Mississippi*</Literal>' +
|
||||||
' </PropertyIsLike>' +
|
' </PropertyIsLike>' +
|
||||||
' <PropertyIsEqualTo>' +
|
' <PropertyIsEqualTo>' +
|
||||||
' <ValueReference>waterway</ValueReference>' +
|
' <ValueReference>waterway</ValueReference>' +
|
||||||
' <Literal>riverbank</Literal>' +
|
' <Literal>riverbank</Literal>' +
|
||||||
' </PropertyIsEqualTo>' +
|
' </PropertyIsEqualTo>' +
|
||||||
' </And>' +
|
' </And>' +
|
||||||
'</Filter>';
|
'</Filter>';
|
||||||
it('creates a WFS 1.x.x filter', function () {
|
it('creates a WFS 1.x.x filter', function () {
|
||||||
const serialized = writeFilter(
|
const serialized = writeFilter(
|
||||||
andFilter(
|
andFilter(
|
||||||
|
|||||||
Reference in New Issue
Block a user