Skip to content

Commit

Permalink
Update a test result for proj 6
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Dec 17, 2019
1 parent 3efae69 commit 10e0910
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/src/core/testqgsmapsettings.cpp
Expand Up @@ -526,7 +526,12 @@ void TestQgsMapSettings::testExpressionContext()

e = QgsExpression( QStringLiteral( "@map_crs_ellipsoid" ) );
r = e.evaluate( &c );

#if PROJ_VERSION_MAJOR>=6
QCOMPARE( r.toString(), QStringLiteral( "EPSG:7030" ) );
#else
QCOMPARE( r.toString(), QStringLiteral( "WGS84" ) );
#endif
}

void TestQgsMapSettings::testRenderedFeatureHandlers()
Expand Down

0 comments on commit 10e0910

Please sign in to comment.