From 4c12aa2bc4a45ef2908d7e5e50a461fc02419911 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 13:15:22 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- tests/src/core/testqgsproject.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/src/core/testqgsproject.cpp b/tests/src/core/testqgsproject.cpp index db73afbf14ac..32e586b47da9 100644 --- a/tests/src/core/testqgsproject.cpp +++ b/tests/src/core/testqgsproject.cpp @@ -1106,7 +1106,7 @@ void TestQgsProject::testAsynchronousLayerLoading() void TestQgsProject::regression60100() { -/* + /* * Regression test for QGIS issue #60100 (https://github.com/qgis/QGIS/issues/60100) * This test ensures that when saving a QGIS project with relative paths, * the correct layer datasource is preserved, even when the current working @@ -1153,7 +1153,7 @@ void TestQgsProject::regression60100() projDirPath + QStringLiteral( "/points.geojson" ), QStringLiteral( "Test Points" ), QStringLiteral( "ogr" ) - ); + ); project->addMapLayer( layer.release() ); // Write (save) the project to disk. This used to pick up the WRONG file and save it to the proj.