From cb633122648442274cee5c17938997f6d1bcd3ba Mon Sep 17 00:00:00 2001
From: "pre-commit-ci[bot]"
<66853113+pre-commit-ci[bot]@users.noreply.github.com>
Date: Fri, 10 Jan 2025 10:11:12 +0000
Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---
tests/src/core/testqgsogcutils.cpp | 61 +++++++++++++++---------------
1 file changed, 30 insertions(+), 31 deletions(-)
diff --git a/tests/src/core/testqgsogcutils.cpp b/tests/src/core/testqgsogcutils.cpp
index de873ac9101b..17b67212dbb4 100644
--- a/tests/src/core/testqgsogcutils.cpp
+++ b/tests/src/core/testqgsogcutils.cpp
@@ -734,47 +734,46 @@ void TestQgsOgcUtils::testExpressionToOgcFilter_data()
"" );
QTest::newRow( "intersects_bbox $geometry" ) << QStringLiteral( "intersects_bbox($geometry, geomFromWKT('POINT (5 6)'))" ) << QString( ""
- ""
- "geometry"
- "5,6 5,6"
- ""
- "" );
+ ""
+ "geometry"
+ "5,6 5,6"
+ ""
+ "" );
QTest::newRow( "intersects + wkt $geometry" ) << QStringLiteral( "intersects($geometry, geomFromWKT('POINT (5 6)'))" ) << QString( ""
- ""
- "geometry"
- "5,6"
- ""
- "" );
+ ""
+ "geometry"
+ "5,6"
+ ""
+ "" );
QTest::newRow( "contains + gml $geometry" ) << QStringLiteral( "contains($geometry, geomFromGML('5,6'))" ) << QString( ""
- ""
- "geometry"
- "5,6"
- ""
- "" );
+ ""
+ "geometry"
+ "5,6"
+ ""
+ "" );
QTest::newRow( "intersects_bbox @geometry" ) << QStringLiteral( "intersects_bbox(@geometry, geomFromWKT('POINT (5 6)'))" ) << QString( ""
- ""
- "geometry"
- "5,6 5,6"
- ""
- "" );
+ ""
+ "geometry"
+ "5,6 5,6"
+ ""
+ "" );
QTest::newRow( "intersects + wkt @geometry" ) << QStringLiteral( "intersects(@geometry, geomFromWKT('POINT (5 6)'))" ) << QString( ""
- ""
- "geometry"
- "5,6"
- ""
- "" );
+ ""
+ "geometry"
+ "5,6"
+ ""
+ "" );
QTest::newRow( "contains + gml @geometry" ) << QStringLiteral( "contains(@geometry, geomFromGML('5,6'))" ) << QString( ""
- ""
- "geometry"
- "5,6"
- ""
- "" );
-
+ ""
+ "geometry"
+ "5,6"
+ ""
+ "" );
}
void TestQgsOgcUtils::testExpressionToOgcFilterWFS11()