Skip to content

Commit 247ea02

Browse files
committed
Update tests
1 parent 6c5276c commit 247ea02

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

tests/src/analysis/testqgsprocessing.cpp

-2
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ class DummyAlgorithm : public QgsProcessingAlgorithm
8383
// duplicate name!
8484
QgsProcessingParameterBoolean *p2 = new QgsProcessingParameterBoolean( "p1" );
8585
QVERIFY( !addParameter( p2 ) );
86-
delete p2;
8786
QCOMPARE( parameterDefinitions().count(), 1 );
8887

8988
QCOMPARE( parameterDefinition( "p1" ), parameterDefinitions().at( 0 ) );
@@ -189,7 +188,6 @@ class DummyAlgorithm : public QgsProcessingAlgorithm
189188
// duplicate name!
190189
QgsProcessingOutputVectorLayer *p2 = new QgsProcessingOutputVectorLayer( "p1" );
191190
QVERIFY( !addOutput( p2 ) );
192-
delete p2;
193191
QCOMPARE( outputDefinitions().count(), 1 );
194192

195193
QCOMPARE( outputDefinition( "p1" ), outputDefinitions().at( 0 ) );

0 commit comments

Comments
 (0)