Skip to content

Commit

Permalink
Don't use deprecated method
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Oct 19, 2023
1 parent 993c95d commit 9bbae4c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/src/core/geometry/testqgsrectangle.cpp
Expand Up @@ -18,7 +18,6 @@
//header for class being tested
#include <qgsrectangle.h>
#include <qgspoint.h>
#include "qgslogger.h"
#include "qgsreferencedgeometry.h"

class TestQgsRectangle: public QObject
Expand Down Expand Up @@ -475,7 +474,7 @@ void TestQgsRectangle::buffered()
QCOMPARE( rectOut.xMaximum(), 1.0 );
QCOMPARE( rectOut.yMaximum(), -9.0 );

rectIn.setMinimal();
rectIn.setNull();
rectOut = rectIn.buffered( 11 );
QVERIFY( rectOut.isNull() );
}
Expand Down

0 comments on commit 9bbae4c

Please sign in to comment.