Skip to content

Commit 0451e6d

Browse files
committedJul 29, 2017
Fix tests
1 parent 837c607 commit 0451e6d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎tests/src/core/testqgsgeometry.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4017,6 +4017,7 @@ void TestQgsGeometry::ellipse()
40174017
QCOMPARE( l->numPoints(), 5 ); // closed linestring
40184018
QgsPointSequence pts_l;
40194019
l->points( pts_l );
4020+
pts_l.pop_back();
40204021
QCOMPARE( pts, pts_l );
40214022

40224023
// polygon
@@ -4445,6 +4446,7 @@ void TestQgsGeometry::regularPolygon()
44454446
QCOMPARE( l->pointN( 0 ), l->pointN( 4 ) );
44464447
QgsPointSequence pts_l;
44474448
l->points( pts_l );
4449+
pts_l.pop_back();
44484450
QCOMPARE( ptsPol, pts_l );
44494451

44504452
//test toString

0 commit comments

Comments
 (0)
Please sign in to comment.